Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2506/0.2506, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 55.91 kB / 0.4921 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1429, allocations: 66 MB / 0.5565 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005034/0.1479, allocations: 3.021 MB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1496, allocations: 0.775 MB / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.1498, allocations: 12 kB / 0.5602 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.15, allocations: 59.38 kB / 0.5603 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.1502, allocations: 103 kB / 0.5604 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.1506, allocations: 115.8 kB / 0.5605 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005362/0.1512, allocations: 474.5 kB / 0.5609 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.1514, allocations: 120 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.1518, allocations: 199.3 kB / 0.5613 GB, free: 460 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.1521, allocations: 207.1 kB / 0.5614 GB, free: 252 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.1521, allocations: 36 kB / 0.5615 GB, free: 216 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1522, allocations: 44 kB / 0.5615 GB, free: 172 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.902e-05/0.1523, allocations: 87.67 kB / 0.5616 GB, free: 84 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.1525, allocations: 207 kB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005932/0.1531, allocations: 469.9 kB / 0.5623 GB, free: 15.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1531, allocations: 0 / 0.5623 GB, free: 15.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1531, allocations: 0 / 0.5623 GB, free: 15.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.1531, allocations: 0 / 0.5623 GB, free: 15.42 MB / 430.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.001525/0.1547, allocations: 0.7209 MB / 0.563 GB, free: 14.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.1547, allocations: 9.109 kB / 0.563 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.155, allocations: 60.64 kB / 0.563 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.1556, allocations: 291.5 kB / 0.5633 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.1556, allocations: 29.38 kB / 0.5633 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-05/0.1557, allocations: 36.38 kB / 0.5634 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.1564, allocations: 354.7 kB / 0.5637 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.1564, allocations: 0 / 0.5637 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.1564, allocations: 16 kB / 0.5637 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1564, allocations: 12 kB / 0.5637 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006682/0.1571, allocations: 307.8 kB / 0.564 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.1595, allocations: 1.341 MB / 0.5653 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.16, allocations: 251.2 kB / 0.5656 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.1603, allocations: 141.3 kB / 0.5657 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.1603, allocations: 8.281 kB / 0.5657 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1604, allocations: 34.84 kB / 0.5658 GB, free: 11.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.313e-06/0.1604, allocations: 0 / 0.5658 GB, free: 11.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.000889/0.1613, allocations: 375.4 kB / 0.5661 GB, free: 11.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.1613, allocations: 63.34 kB / 0.5662 GB, free: 11.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.1616, allocations: 262.7 kB / 0.5664 GB, free: 10.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.1616, allocations: 33.7 kB / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.1618, allocations: 212.2 kB / 0.5667 GB, free: 10.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.1619, allocations: 119 kB / 0.5668 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.162, allocations: 74.08 kB / 0.5668 GB, free: 10.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1622, allocations: 338.8 kB / 0.5672 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.1625, allocations: 104.8 kB / 0.5673 GB, free: 10.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.1628, allocations: 171.5 kB / 0.5674 GB, free: 9.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005871/0.1634, allocations: 292.6 kB / 0.5677 GB, free: 9.531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1634, allocations: 3.938 kB / 0.5677 GB, free: 9.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007301/0.1641, allocations: 374.4 kB / 0.5681 GB, free: 9.156 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1641, allocations: 4 kB / 0.5681 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1641, allocations: 4 kB / 0.5681 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.1641, allocations: 4 kB / 0.5681 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.1647, allocations: 103.9 kB / 0.5682 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1647, allocations: 0 / 0.5682 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.1649, allocations: 47.66 kB / 0.5682 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.165, allocations: 16.09 kB / 0.5682 GB, free: 8.98 MB / 430.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.0001811/0.1651, allocations: 159.9 kB / 0.5684 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.1652, allocations: 27.81 kB / 0.5684 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007152/0.1659, allocations: 324.2 kB / 0.5687 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.1659, allocations: 4 kB / 0.5687 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1659, allocations: 0 / 0.5687 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1659, allocations: 7.922 kB / 0.5687 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.1664, allocations: 409.1 kB / 0.5691 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1664, allocations: 0 / 0.5691 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.1669, allocations: 87.88 kB / 0.5692 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1669, allocations: 0 / 0.5692 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.1669, allocations: 4 kB / 0.5692 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/0.1669, allocations: 11.98 kB / 0.5692 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1669, allocations: 0 / 0.5692 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009308/0.1678, allocations: 0.5223 MB / 0.5697 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.168, allocations: 124.9 kB / 0.5699 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.168, allocations: 8 kB / 0.5699 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.1682, allocations: 11.98 kB / 0.5699 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.1683, allocations: 19.97 kB / 0.5699 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.1683, allocations: 12 kB / 0.5699 GB, free: 7.168 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.1686, allocations: 193.9 kB / 0.5701 GB, free: 6.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1686, allocations: 4.062 kB / 0.5701 GB, free: 6.973 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.1689, allocations: 91.84 kB / 0.5702 GB, free: 6.883 MB / 430.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.0001327/0.1691, allocations: 103.2 kB / 0.5703 GB, free: 6.773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.1697, allocations: 259.9 kB / 0.5705 GB, free: 6.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1697, allocations: 0 / 0.5705 GB, free: 6.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.1699, allocations: 136.7 kB / 0.5707 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1703, allocations: 28.5 kB / 0.5707 GB, free: 6.359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1718, allocations: 0.7796 MB / 0.5714 GB, free: 5.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.1722, allocations: 0.7835 MB / 0.5722 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1724, allocations: 39.36 kB / 0.5722 GB, free: 4.699 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1724, allocations: 0 / 0.5722 GB, free: 4.699 MB / 430.1 MB Notification: Performance of Templates: time 0.006638/0.179, allocations: 3.935 MB / 0.5761 GB, free: 0.7812 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.846274736017222]