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.001032/0.001032, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.00112/0.00112, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 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 0.9076/0.9076, allocations: 158.6 MB / 186 MB, free: 2.719 MB / 170.7 MB " [Timeout remaining time 179] 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.1514/0.1514, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.907e-05, allocations: 6.312 kB / 299 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.1637/0.1638, allocations: 2.94 MB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.1658, allocations: 0.7845 MB / 302.8 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.1661, allocations: 12.25 kB / 302.8 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.1663, allocations: 55.7 kB / 302.8 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.1666, allocations: 110 kB / 302.9 MB, free: 18.97 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.167, allocations: 119.6 kB / 303.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007354/0.1677, allocations: 483.7 kB / 303.5 MB, free: 18.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.168, allocations: 113.3 kB / 303.6 MB, free: 18.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000559/0.1686, allocations: 269.9 kB / 303.9 MB, free: 18.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.1689, allocations: 159.4 kB / 304.1 MB, free: 18.58 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.47e-05/0.169, allocations: 39.53 kB / 304.1 MB, free: 18.58 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.697e-05/0.1691, allocations: 39.38 kB / 304.1 MB, free: 18.58 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-05/0.1692, allocations: 93.44 kB / 304.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.1693, allocations: 141.7 kB / 304.4 MB, free: 18.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.1699, allocations: 305.6 kB / 304.7 MB, free: 18.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.1699, allocations: 0 / 304.7 MB, free: 18.31 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1699, allocations: 1.906 kB / 304.7 MB, free: 18.31 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.1699, allocations: 0.6562 kB / 304.7 MB, free: 18.31 MB / 282.7 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.001177/0.1711, allocations: 0.6136 MB / 305.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1712, allocations: 9.594 kB / 305.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.1713, allocations: 59.75 kB / 305.3 MB, free: 17.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.1716, allocations: 200.8 kB / 305.5 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.1716, allocations: 28.53 kB / 305.6 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.1717, allocations: 42.2 kB / 305.6 MB, free: 17.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.1721, allocations: 251.3 kB / 305.9 MB, free: 17.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.1721, allocations: 2.047 kB / 305.9 MB, free: 17.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.1722, allocations: 15.78 kB / 305.9 MB, free: 17.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1722, allocations: 12.62 kB / 305.9 MB, free: 17.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.1724, allocations: 112.5 kB / 306 MB, free: 17.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.1739, allocations: 0.9297 MB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.1741, allocations: 142 kB / 307.1 MB, free: 16.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.1742, allocations: 74.05 kB / 307.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.1743, allocations: 6.375 kB / 307.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1743, allocations: 40.84 kB / 307.2 MB, free: 16.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 3.727e-06/0.1743, allocations: 1.469 kB / 307.2 MB, free: 16.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003543/0.1746, allocations: 180 kB / 307.4 MB, free: 16.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1747, allocations: 60.12 kB / 307.4 MB, free: 16.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1749, allocations: 224 kB / 307.6 MB, free: 16.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1749, allocations: 30.86 kB / 307.7 MB, free: 16.56 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.175, allocations: 200.1 kB / 307.9 MB, free: 16.4 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.704e-05/0.175, allocations: 126.9 kB / 308 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.18e-05/0.1751, allocations: 75.05 kB / 308.1 MB, free: 16.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.1752, allocations: 342 kB / 308.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.1753, allocations: 37.97 kB / 308.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.1754, allocations: 105.3 kB / 308.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.1756, allocations: 180.2 kB / 308.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1756, allocations: 0 / 308.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003132/0.1759, allocations: 197.5 kB / 308.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1759, allocations: 13.44 kB / 308.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1759, allocations: 2.094 kB / 308.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.176, allocations: 4.031 kB / 308.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.1763, allocations: 105.4 kB / 309 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1763, allocations: 3.312 kB / 309 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.1764, allocations: 32.33 kB / 309.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.1764, allocations: 11.8 kB / 309.1 MB, free: 15.66 MB / 282.7 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.0001046/0.1765, allocations: 128.8 kB / 309.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.1766, allocations: 30.52 kB / 309.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.1769, allocations: 192.5 kB / 309.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1769, allocations: 4.016 kB / 309.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1769, allocations: 3.938 kB / 309.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.1769, allocations: 4.469 kB / 309.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.1772, allocations: 198.4 kB / 309.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1772, allocations: 0 / 309.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.1774, allocations: 81.83 kB / 309.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.1774, allocations: 3.531 kB / 309.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.1774, allocations: 5.062 kB / 309.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.1774, allocations: 8.094 kB / 309.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1774, allocations: 1.219 kB / 309.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.1778, allocations: 316.3 kB / 310 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.1779, allocations: 31.25 kB / 310.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1779, allocations: 7.438 kB / 310.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.385e-05/0.178, allocations: 13.3 kB / 310.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.1781, allocations: 24.7 kB / 310.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.1781, allocations: 7.859 kB / 310.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.962e-05/0.1782, allocations: 77.75 kB / 310.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1782, allocations: 0 / 310.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002761/0.1785, allocations: 94.47 kB / 310.3 MB, free: 15.03 MB / 282.7 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.0001087/0.1786, allocations: 86.14 kB / 310.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.1788, allocations: 152.8 kB / 310.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.1789, allocations: 2.219 kB / 310.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.179, allocations: 84.38 kB / 310.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.1792, allocations: 33.88 kB / 310.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.1802, allocations: 0.6451 MB / 311.3 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.759e-05/0.1803, allocations: 100.9 kB / 311.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.1804, allocations: 33.31 kB / 311.4 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1805, allocations: 87.86 kB / 311.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of SimCode: time 1.133e-06/0.1805, allocations: 0 / 311.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of Templates: time 0.006528/0.187, allocations: 2.607 MB / 314.1 MB, free: 13.55 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1426967619918287]