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.001461/0.001461, allocations: 76.06 kB / 20.72 MB, free: 3.766 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.001694/0.001694, allocations: 169 kB / 24.14 MB, free: 356 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 1.008/1.008, allocations: 158.6 MB / 186 MB, free: 2.777 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.135/0.135, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.323e-06/1.323e-06, allocations: 0 / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.263e-05, allocations: 6.25 kB / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.1572/0.1572, allocations: 2.985 MB / 302.1 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1591, allocations: 0.7888 MB / 302.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.1594, allocations: 4.75 kB / 302.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.1597, allocations: 64.45 kB / 302.9 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.1599, allocations: 109.2 kB / 303 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.1603, allocations: 109 kB / 303.2 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.1609, allocations: 486.5 kB / 303.6 MB, free: 18.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.1612, allocations: 113.5 kB / 303.7 MB, free: 18.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005694/0.1617, allocations: 273.3 kB / 304 MB, free: 18.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.1621, allocations: 154.4 kB / 304.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.417e-05/0.1622, allocations: 40 kB / 304.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.743e-05/0.1622, allocations: 39.62 kB / 304.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.1623, allocations: 97.11 kB / 304.3 MB, free: 18.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.1625, allocations: 142.1 kB / 304.5 MB, free: 18.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004721/0.1629, allocations: 308.3 kB / 304.8 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1629, allocations: 0 / 304.8 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1629, allocations: 0 / 304.8 MB, free: 18.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.163, allocations: 0 / 304.8 MB, free: 18.25 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.001095/0.1641, allocations: 0.6126 MB / 305.4 MB, free: 17.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1641, allocations: 13.09 kB / 305.4 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.1642, allocations: 59.12 kB / 305.4 MB, free: 17.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.1645, allocations: 197.9 kB / 305.6 MB, free: 17.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1645, allocations: 28.94 kB / 305.7 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.1646, allocations: 37.41 kB / 305.7 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.165, allocations: 251.9 kB / 306 MB, free: 17.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.165, allocations: 3.75 kB / 306 MB, free: 17.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.165, allocations: 16.58 kB / 306 MB, free: 17.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.1651, allocations: 14.09 kB / 306 MB, free: 17.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.1653, allocations: 112.3 kB / 306.1 MB, free: 17.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1667, allocations: 0.9338 MB / 307 MB, free: 16.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1669, allocations: 142.5 kB / 307.2 MB, free: 16.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1671, allocations: 74.53 kB / 307.2 MB, free: 16.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.1671, allocations: 6.562 kB / 307.2 MB, free: 16.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.1671, allocations: 42.03 kB / 307.3 MB, free: 16.79 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 2.434e-06/0.1671, allocations: 1.438 kB / 307.3 MB, free: 16.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003437/0.1675, allocations: 179.2 kB / 307.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.1675, allocations: 60.19 kB / 307.5 MB, free: 16.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.1676, allocations: 219.8 kB / 307.7 MB, free: 16.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1677, allocations: 30.86 kB / 307.8 MB, free: 16.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.1677, allocations: 204.1 kB / 308 MB, free: 16.33 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.1678, allocations: 122.8 kB / 308.1 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/0.1679, allocations: 79.3 kB / 308.2 MB, free: 16.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.168, allocations: 337.4 kB / 308.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.168, allocations: 34.12 kB / 308.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.965e-05/0.1681, allocations: 113.6 kB / 308.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.1683, allocations: 173.4 kB / 308.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1683, allocations: 0 / 308.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002864/0.1686, allocations: 203.5 kB / 309 MB, free: 15.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1687, allocations: 6.281 kB / 309 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1687, allocations: 2.219 kB / 309 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1687, allocations: 3.219 kB / 309 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.1691, allocations: 119.2 kB / 309.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.1691, allocations: 4.062 kB / 309.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.1692, allocations: 32.02 kB / 309.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.1692, allocations: 18.34 kB / 309.2 MB, free: 15.59 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 8.84e-05/0.1693, allocations: 122.7 kB / 309.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.1694, allocations: 30.77 kB / 309.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.1696, allocations: 194.8 kB / 309.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.1697, allocations: 4.438 kB / 309.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1697, allocations: 5.203 kB / 309.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1697, allocations: 1.734 kB / 309.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.17, allocations: 198.1 kB / 309.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.17, allocations: 2.5 kB / 309.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.1702, allocations: 92.05 kB / 309.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1702, allocations: 1.156 kB / 309.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.1703, allocations: 10.03 kB / 309.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1703, allocations: 2.25 kB / 309.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1703, allocations: 0.8438 kB / 309.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.1706, allocations: 311.2 kB / 310.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.1707, allocations: 32.55 kB / 310.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1707, allocations: 6.281 kB / 310.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.1708, allocations: 13.12 kB / 310.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.1709, allocations: 27.75 kB / 310.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1709, allocations: 12.16 kB / 310.2 MB, free: 15.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.361e-05/0.171, allocations: 73.86 kB / 310.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.171, allocations: 0 / 310.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002722/0.1713, allocations: 103 kB / 310.4 MB, free: 14.96 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 9.913e-05/0.1714, allocations: 76.55 kB / 310.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.1716, allocations: 158 kB / 310.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.1716, allocations: 2.188 kB / 310.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.154e-05/0.1717, allocations: 89 kB / 310.7 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.1719, allocations: 30.83 kB / 310.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009787/0.1729, allocations: 0.6438 MB / 311.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.668e-05/0.173, allocations: 96.23 kB / 311.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.1731, allocations: 37.27 kB / 311.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.1732, allocations: 88.02 kB / 311.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1732, allocations: 0 / 311.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of Templates: time 0.006045/0.1793, allocations: 2.602 MB / 314.2 MB, free: 13.48 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 -s gbode -gbm=radauIIA3 -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.131256820168346]