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.001407/0.001407, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001544/0.001544, allocations: 217 kB / 22.99 MB, free: 4.605 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.817/1.817, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2485/0.2485, allocations: 44.27 MB / 330.3 MB, free: 9.312 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.002422/0.002422, allocations: 67.91 kB / 468 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1561, allocations: 61.04 MB / 0.5166 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004926/0.161, allocations: 2.774 MB / 0.5193 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1626, allocations: 0.741 MB / 0.5201 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.1627, allocations: 8 kB / 0.5201 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.1629, allocations: 55.39 kB / 0.5201 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1632, allocations: 107 kB / 0.5202 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.1635, allocations: 111.8 kB / 0.5203 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000539/0.164, allocations: 474.5 kB / 0.5208 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.1643, allocations: 104.5 kB / 0.5209 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.1646, allocations: 191.3 kB / 0.5211 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.1649, allocations: 187.1 kB / 0.5212 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.618e-05/0.165, allocations: 40 kB / 0.5213 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.165, allocations: 36 kB / 0.5213 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.1651, allocations: 91.67 kB / 0.5214 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.1653, allocations: 171.2 kB / 0.5216 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.1659, allocations: 477.9 kB / 0.522 GB, free: 1.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1659, allocations: 0 / 0.522 GB, free: 1.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1659, allocations: 0 / 0.522 GB, free: 1.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.1659, allocations: 0 / 0.522 GB, free: 1.129 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.001459/0.1673, allocations: 0.6418 MB / 0.5226 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.1674, allocations: 12.03 kB / 0.5227 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.476e-05/0.1675, allocations: 44.66 kB / 0.5227 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.168, allocations: 229.6 kB / 0.5229 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.168, allocations: 29.38 kB / 0.5229 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.668e-05/0.1681, allocations: 40.38 kB / 0.523 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.1688, allocations: 350.9 kB / 0.5233 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.1688, allocations: 0 / 0.5233 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.1688, allocations: 16 kB / 0.5233 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.1689, allocations: 8 kB / 0.5233 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006216/0.1695, allocations: 299.8 kB / 0.5236 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.1717, allocations: 1.14 MB / 0.5247 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.1722, allocations: 261.4 kB / 0.525 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.1725, allocations: 141.3 kB / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.1725, allocations: 12.16 kB / 0.5251 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1726, allocations: 30.84 kB / 0.5252 GB, free: 13.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.1726, allocations: 0 / 0.5252 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.000876/0.1734, allocations: 374.7 kB / 0.5255 GB, free: 13.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1735, allocations: 59.41 kB / 0.5256 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.1738, allocations: 240.8 kB / 0.5258 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.1738, allocations: 33.7 kB / 0.5258 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.174, allocations: 212.5 kB / 0.526 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1741, allocations: 126.9 kB / 0.5262 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.1742, allocations: 70.08 kB / 0.5262 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1744, allocations: 338.8 kB / 0.5266 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.1746, allocations: 100.8 kB / 0.5267 GB, free: 12.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.1749, allocations: 171.5 kB / 0.5268 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.1755, allocations: 292.6 kB / 0.5271 GB, free: 11.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1755, allocations: 0 / 0.5271 GB, free: 11.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000677/0.1761, allocations: 366.4 kB / 0.5274 GB, free: 11.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.1762, allocations: 4 kB / 0.5274 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1762, allocations: 7.938 kB / 0.5275 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1762, allocations: 4 kB / 0.5275 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.1767, allocations: 103.9 kB / 0.5276 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.1767, allocations: 4 kB / 0.5276 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.177, allocations: 43.95 kB / 0.5276 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.177, allocations: 15.98 kB / 0.5276 GB, free: 11.13 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.0001848/0.1772, allocations: 153.7 kB / 0.5278 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.1772, allocations: 31.75 kB / 0.5278 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006767/0.1779, allocations: 324.2 kB / 0.5281 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1779, allocations: 4 kB / 0.5281 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1779, allocations: 0 / 0.5281 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1779, allocations: 3.984 kB / 0.5281 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.1784, allocations: 281.1 kB / 0.5284 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1784, allocations: 0 / 0.5284 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.1788, allocations: 75.89 kB / 0.5285 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.1788, allocations: 7.938 kB / 0.5285 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.1788, allocations: 7.984 kB / 0.5285 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1788, allocations: 4 kB / 0.5285 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1788, allocations: 0 / 0.5285 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009099/0.1797, allocations: 0.5145 MB / 0.529 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1798, allocations: 55.62 kB / 0.529 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.1799, allocations: 4 kB / 0.529 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.1801, allocations: 11.98 kB / 0.529 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.1802, allocations: 19.97 kB / 0.5291 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.1802, allocations: 15.98 kB / 0.5291 GB, free: 9.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.1804, allocations: 168.4 kB / 0.5292 GB, free: 9.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1804, allocations: 0 / 0.5292 GB, free: 9.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.1807, allocations: 95.78 kB / 0.5293 GB, free: 9.316 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.00013/0.1809, allocations: 111.6 kB / 0.5294 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005987/0.1815, allocations: 260.1 kB / 0.5297 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1815, allocations: 0 / 0.5297 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.1817, allocations: 127.7 kB / 0.5298 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1821, allocations: 25.36 kB / 0.5298 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.1836, allocations: 0.7605 MB / 0.5306 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.1838, allocations: 177.3 kB / 0.5307 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.1839, allocations: 34.89 kB / 0.5308 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.1841, allocations: 27.42 kB / 0.5308 GB, free: 7.75 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1841, allocations: 0 / 0.5308 GB, free: 7.75 MB / 414.1 MB Notification: Performance of Templates: time 0.007619/0.1917, allocations: 2.843 MB / 0.5336 GB, free: 4.938 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/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: 5.974351668730378]