Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.001297/0.001297, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001693/0.001693, allocations: 206.2 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2336/0.2336, allocations: 44.27 MB / 331.1 MB, free: 9.41 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002716/0.002716, allocations: 71.89 kB / 468.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1545, allocations: 61.04 MB / 0.5174 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005283/0.1598, allocations: 2.762 MB / 0.5201 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.1617, allocations: 0.741 MB / 0.5208 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.1619, allocations: 11.94 kB / 0.5208 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.1621, allocations: 59.38 kB / 0.5209 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.1623, allocations: 107 kB / 0.521 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.1627, allocations: 107.8 kB / 0.5211 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005372/0.1632, allocations: 478.4 kB / 0.5215 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.1635, allocations: 108.5 kB / 0.5216 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.1637, allocations: 187.3 kB / 0.5218 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.164, allocations: 187.1 kB / 0.522 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.403e-05/0.1641, allocations: 36 kB / 0.522 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.1641, allocations: 40 kB / 0.522 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.1642, allocations: 91.67 kB / 0.5221 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.1644, allocations: 171.2 kB / 0.5223 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.1649, allocations: 470 kB / 0.5227 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1649, allocations: 0 / 0.5227 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1649, allocations: 0 / 0.5227 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.1649, allocations: 7.938 kB / 0.5228 GB, free: 1.141 MB / 398.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.001412/0.1663, allocations: 0.6418 MB / 0.5234 GB, free: 480 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1664, allocations: 12.03 kB / 0.5234 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.965e-05/0.1665, allocations: 48.59 kB / 0.5234 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.167, allocations: 229.6 kB / 0.5237 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.167, allocations: 33.38 kB / 0.5237 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.342e-05/0.1671, allocations: 36.38 kB / 0.5237 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.1678, allocations: 346.8 kB / 0.5241 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.1678, allocations: 4 kB / 0.5241 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.1678, allocations: 12 kB / 0.5241 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.1679, allocations: 12 kB / 0.5241 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000648/0.1685, allocations: 303.8 kB / 0.5244 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.1708, allocations: 1.132 MB / 0.5255 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.1713, allocations: 257.4 kB / 0.5257 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.1716, allocations: 141.3 kB / 0.5259 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1716, allocations: 12.16 kB / 0.5259 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1717, allocations: 34.83 kB / 0.5259 GB, free: 13.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.485e-06/0.1717, allocations: 0 / 0.5259 GB, free: 13.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008714/0.1725, allocations: 378.7 kB / 0.5263 GB, free: 13.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1726, allocations: 55.41 kB / 0.5263 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.1729, allocations: 232.8 kB / 0.5265 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.1729, allocations: 33.7 kB / 0.5266 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.173, allocations: 220.5 kB / 0.5268 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.1732, allocations: 123 kB / 0.5269 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1733, allocations: 74.06 kB / 0.527 GB, free: 12.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1734, allocations: 338.8 kB / 0.5273 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.1737, allocations: 96.83 kB / 0.5274 GB, free: 12.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.174, allocations: 175.5 kB / 0.5276 GB, free: 11.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005533/0.1745, allocations: 288.6 kB / 0.5278 GB, free: 11.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1745, allocations: 0 / 0.5278 GB, free: 11.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000717/0.1753, allocations: 366.4 kB / 0.5282 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.1753, allocations: 4 kB / 0.5282 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1753, allocations: 4 kB / 0.5282 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.1753, allocations: 7.984 kB / 0.5282 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.1758, allocations: 103.8 kB / 0.5283 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1758, allocations: 224 / 0.5283 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.1761, allocations: 47.72 kB / 0.5283 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.1761, allocations: 16 kB / 0.5284 GB, free: 11.14 MB / 414.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.0001794/0.1763, allocations: 153.8 kB / 0.5285 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.1764, allocations: 31.75 kB / 0.5285 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007052/0.1771, allocations: 324.2 kB / 0.5288 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.1771, allocations: 4 kB / 0.5288 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1771, allocations: 3.938 kB / 0.5288 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1771, allocations: 4 kB / 0.5288 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.1775, allocations: 273.1 kB / 0.5291 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1775, allocations: 3.938 kB / 0.5291 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.1779, allocations: 83.88 kB / 0.5292 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.1779, allocations: 7.938 kB / 0.5292 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.1779, allocations: 4 kB / 0.5292 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1779, allocations: 0 / 0.5292 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.178, allocations: 4 kB / 0.5292 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/0.1789, allocations: 0.5068 MB / 0.5297 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.179, allocations: 63.56 kB / 0.5298 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.1791, allocations: 4 kB / 0.5298 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.1793, allocations: 11.98 kB / 0.5298 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.1793, allocations: 23.95 kB / 0.5298 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.1794, allocations: 8 kB / 0.5298 GB, free: 9.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.1796, allocations: 168.5 kB / 0.53 GB, free: 9.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1796, allocations: 0 / 0.53 GB, free: 9.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003991/0.18, allocations: 95.78 kB / 0.5301 GB, free: 9.332 MB / 414.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.0001787/0.1801, allocations: 107.6 kB / 0.5302 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006517/0.1808, allocations: 256.1 kB / 0.5304 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1808, allocations: 4 kB / 0.5304 GB, free: 8.965 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.1811, allocations: 131.7 kB / 0.5305 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1814, allocations: 24.86 kB / 0.5306 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.183, allocations: 0.7969 MB / 0.5313 GB, free: 7.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.1832, allocations: 177.3 kB / 0.5315 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1833, allocations: 31.42 kB / 0.5315 GB, free: 7.754 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1833, allocations: 0 / 0.5315 GB, free: 7.754 MB / 414.1 MB Notification: Performance of Templates: time 0.007194/0.1905, allocations: 3.96 MB / 0.5354 GB, free: 3.797 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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: 8.026435713283718]