Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000907/0.0009071, allocations: 96.09 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009919/0.000992, allocations: 206.6 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.7 MB / 246.8 MB, free: 9.746 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002831, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 63.56 MB / 483.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003698/0.1353, allocations: 2.677 MB / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1371, allocations: 0.7635 MB / 486.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.1374, allocations: 7.938 kB / 486.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.1377, allocations: 43.62 kB / 486.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.1381, allocations: 83.3 kB / 486.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.1386, allocations: 103.9 kB / 486.8 MB, free: 444 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006774/0.1393, allocations: 446.7 kB / 487.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004252/0.1397, allocations: 128.8 kB / 487.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004375/0.1402, allocations: 163.3 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.1405, allocations: 187.1 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.051e-05/0.1406, allocations: 23.94 kB / 487.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1407, allocations: 20 kB / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-05/0.1408, allocations: 71.72 kB / 487.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.1411, allocations: 204.6 kB / 488 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.1416, allocations: 434.2 kB / 488.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1416, allocations: 0 / 488.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.1416, allocations: 4 kB / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.1416, allocations: 3.938 kB / 488.4 MB, free: 14.77 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001472/0.1431, allocations: 0.6397 MB / 489.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.1432, allocations: 9.953 kB / 489.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.1435, allocations: 56.36 kB / 489.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.144, allocations: 279.6 kB / 489.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.144, allocations: 29.38 kB / 489.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.1441, allocations: 44.38 kB / 489.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007853/0.1449, allocations: 350.8 kB / 489.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1449, allocations: 0 / 489.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.145, allocations: 16 kB / 489.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.145, allocations: 11.94 kB / 489.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/0.1457, allocations: 319.8 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.1483, allocations: 1.337 MB / 491.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005651/0.1489, allocations: 290.7 kB / 491.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.1492, allocations: 169.3 kB / 491.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.1493, allocations: 8.266 kB / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1493, allocations: 30.84 kB / 492 MB, free: 11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.1493, allocations: 0 / 492 MB, free: 11 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009107/0.1502, allocations: 399.2 kB / 492.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1503, allocations: 59.34 kB / 492.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.1506, allocations: 266.6 kB / 492.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.1506, allocations: 33.7 kB / 492.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1508, allocations: 204 kB / 492.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1509, allocations: 122.2 kB / 493 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.1509, allocations: 37.7 kB / 493.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1511, allocations: 334.8 kB / 493.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.1513, allocations: 108.8 kB / 493.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.1517, allocations: 179.5 kB / 493.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.1522, allocations: 304.6 kB / 494 MB, free: 8.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1522, allocations: 0 / 494 MB, free: 8.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007299/0.153, allocations: 378.5 kB / 494.3 MB, free: 8.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.153, allocations: 11.94 kB / 494.4 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.153, allocations: 4 kB / 494.4 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.153, allocations: 4 kB / 494.4 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.1535, allocations: 107.9 kB / 494.5 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.1536, allocations: 4 kB / 494.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.1539, allocations: 43.53 kB / 494.5 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.1539, allocations: 15.98 kB / 494.5 MB, free: 8.332 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.1541, allocations: 157.7 kB / 494.7 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.1542, allocations: 31.62 kB / 494.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006807/0.1548, allocations: 340.1 kB / 495 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1549, allocations: 4 kB / 495 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1549, allocations: 0 / 495 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1549, allocations: 3.984 kB / 495.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.1554, allocations: 405.1 kB / 495.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1554, allocations: 0 / 495.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.1558, allocations: 87.88 kB / 495.5 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.1558, allocations: 4 kB / 495.5 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.1558, allocations: 4 kB / 495.5 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1558, allocations: 4 kB / 495.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1558, allocations: 4 kB / 495.5 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.1567, allocations: 0.5299 MB / 496.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.1569, allocations: 128.6 kB / 496.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.1569, allocations: 8 kB / 496.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.1572, allocations: 19.98 kB / 496.2 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.1572, allocations: 15.97 kB / 496.2 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.1573, allocations: 12 kB / 496.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.1575, allocations: 190 kB / 496.4 MB, free: 6.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1575, allocations: 64 / 496.4 MB, free: 6.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.1578, allocations: 99.75 kB / 496.5 MB, free: 6.215 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001205/0.158, allocations: 99.19 kB / 496.6 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006116/0.1586, allocations: 288.1 kB / 496.9 MB, free: 5.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1586, allocations: 0 / 496.9 MB, free: 5.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.1589, allocations: 148.3 kB / 497.1 MB, free: 5.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.1592, allocations: 28.5 kB / 497.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.1608, allocations: 0.9628 MB / 498.1 MB, free: 4.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.1611, allocations: 0.7835 MB / 498.8 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.1613, allocations: 46.81 kB / 498.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.1614, allocations: 23.44 kB / 498.9 MB, free: 3.789 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1614, allocations: 8 kB / 498.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of Templates: time 0.006022/0.1675, allocations: 2.436 MB / 0.4896 GB, free: 1.367 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches