Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.88 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.112, allocations: 62.45 MB / 481.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003785/0.1158, allocations: 2.483 MB / 483.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1173, allocations: 0.8334 MB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.1175, allocations: 4 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.1177, allocations: 59.44 kB / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.118, allocations: 107.2 kB / 484.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1183, allocations: 95.88 kB / 485 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.1186, allocations: 358.7 kB / 485.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.1188, allocations: 96.67 kB / 485.5 MB, free: 460 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.119, allocations: 135.5 kB / 485.6 MB, free: 324 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.1192, allocations: 163.3 kB / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.1193, allocations: 28 kB / 485.8 MB, free: 132 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.17e-05/0.1193, allocations: 32 kB / 485.8 MB, free: 100 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.302e-05/0.1194, allocations: 75.75 kB / 485.9 MB, free: 24 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.1195, allocations: 155.3 kB / 486.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1199, allocations: 382.5 kB / 486.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1199, allocations: 0 / 486.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1199, allocations: 3.984 kB / 486.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1199, allocations: 0 / 486.4 MB, free: 15.49 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001011/0.1209, allocations: 0.6196 MB / 487.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1209, allocations: 15.97 kB / 487.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.1211, allocations: 40.47 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.1214, allocations: 270.7 kB / 487.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1214, allocations: 20.94 kB / 487.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.1215, allocations: 24.38 kB / 487.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.1219, allocations: 245.2 kB / 487.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.122, allocations: 0 / 487.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.122, allocations: 12 kB / 487.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.122, allocations: 11.94 kB / 487.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.1225, allocations: 230.1 kB / 487.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.1238, allocations: 0.8792 MB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.1243, allocations: 317.4 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.1246, allocations: 140.8 kB / 489.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.1246, allocations: 11.98 kB / 489.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1246, allocations: 38.48 kB / 489.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.422e-06/0.1247, allocations: 0 / 489.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.004311/0.129, allocations: 1.262 MB / 490.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.129, allocations: 63.33 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.1292, allocations: 225 kB / 490.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.1293, allocations: 37.7 kB / 490.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1294, allocations: 165.1 kB / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/0.1295, allocations: 106.5 kB / 491.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1296, allocations: 53.61 kB / 491.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1298, allocations: 334.8 kB / 491.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.13, allocations: 99.81 kB / 491.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.1303, allocations: 126.7 kB / 491.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.1308, allocations: 232.1 kB / 492 MB, free: 9.648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1308, allocations: 0 / 492 MB, free: 9.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001737/0.1325, allocations: 0.545 MB / 492.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1326, allocations: 4 kB / 492.5 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1326, allocations: 4 kB / 492.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.1342, allocations: 311.1 kB / 492.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1344, allocations: 27.97 kB / 492.8 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007259/0.1416, allocations: 6.848 MB / 499.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.1419, allocations: 23.86 kB / 499.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.1419, allocations: 12 kB / 499.7 MB, free: 1.281 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.1421, allocations: 141.7 kB / 499.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.1421, allocations: 31.69 kB / 499.9 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.1439, allocations: 0.5478 MB / 0.4887 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1439, allocations: 4 kB / 0.4887 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1439, allocations: 7.938 kB / 0.4887 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.1439, allocations: 3.984 kB / 0.4887 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.1444, allocations: 361.2 kB / 0.4891 GB, free: 124 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1444, allocations: 0 / 0.4891 GB, free: 124 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1445, allocations: 19.98 kB / 0.4891 GB, free: 104 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.1461, allocations: 307.2 kB / 0.4894 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.1461, allocations: 4 kB / 0.4894 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007559/0.1537, allocations: 6.909 MB / 0.4961 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1537, allocations: 4.062 kB / 0.4961 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.1555, allocations: 0.6233 MB / 0.4967 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.1556, allocations: 112.6 kB / 0.4969 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.1556, allocations: 4 kB / 0.4969 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.1558, allocations: 11.98 kB / 0.4969 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.1559, allocations: 35.95 kB / 0.4969 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.156, allocations: 11.92 kB / 0.4969 GB, free: 7.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1561, allocations: 174 kB / 0.4971 GB, free: 7.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1561, allocations: 0 / 0.4971 GB, free: 7.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005606/0.1567, allocations: 123.8 kB / 0.4972 GB, free: 7.176 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.1568, allocations: 99.19 kB / 0.4973 GB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.158, allocations: 0.7526 MB / 0.498 GB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.158, allocations: 0 / 0.498 GB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.1593, allocations: 0.7367 MB / 0.4987 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1597, allocations: 20.56 kB / 0.4988 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1609, allocations: 0.5526 MB / 0.4993 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.1613, allocations: 0.7795 MB / 0.5001 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.352e-05/0.1614, allocations: 5.969 kB / 0.5001 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.1615, allocations: 15.42 kB / 0.5001 GB, free: 4.051 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1615, allocations: 0 / 0.5001 GB, free: 4.051 MB / 382.1 MB Notification: Performance of Templates: time 0.2077/0.3692, allocations: 8.08 MB / 0.508 GB, free: 38.75 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches