Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 88.64 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 145.5 kB / 24.25 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.245e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01307/0.01309, allocations: 9.031 MB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008201/0.02129, allocations: 3.607 MB / 280 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.02232, allocations: 63.69 kB / 280 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004274/0.0266, allocations: 2.028 MB / 282 MB, free: 7.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004504/0.0311, allocations: 1.773 MB / 283.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.03286, allocations: 0.6626 MB / 284.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005778/0.03864, allocations: 3.687 MB / 288.2 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1194/0.158, allocations: 2.458 MB / 290.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.161, allocations: 1.901 MB / 292.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/0.1636, allocations: 1.815 MB / 294.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005149/0.1641, allocations: 259.3 kB / 294.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.1658, allocations: 0.9864 MB / 295.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.1672, allocations: 1.688 MB / 297.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.1683, allocations: 1.042 MB / 298.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005087/0.1734, allocations: 5.868 MB / 304.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1734, allocations: 0 / 304.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1734, allocations: 0 / 304.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.897e-05/0.1735, allocations: 0 / 304.2 MB, free: 14.11 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.005864/0.1794, allocations: 4.065 MB / 308.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1794, allocations: 10.06 kB / 308.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006008/0.1854, allocations: 2.247 MB / 310.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.1882, allocations: 1.869 MB / 312.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.1883, allocations: 191.5 kB / 312.6 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004066/0.1887, allocations: 259.3 kB / 312.8 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009362/0.1981, allocations: 8.447 MB / 321.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.032e-05/0.1981, allocations: 47.44 kB / 321.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003113/0.1984, allocations: 124.7 kB / 321.4 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002688/0.2011, allocations: 1.692 MB / 323.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.216, allocations: 7.077 MB / 330.2 MB, free: 8.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04613/0.2621, allocations: 32.3 MB / 362.5 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007841/0.27, allocations: 2.811 MB / 365.3 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/0.2721, allocations: 1.354 MB / 366.7 MB, free: 3.203 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006943/0.279, allocations: 3.459 MB / 370.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.2791, allocations: 43.22 kB / 370.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 3.386e-06/0.2791, allocations: 0 / 370.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.03203/0.3111, allocations: 11.91 MB / 382.1 MB, free: 3.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.3112, allocations: 141.2 kB / 382.2 MB, free: 3.582 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00576/0.317, allocations: 3.514 MB / 385.7 MB, free: 56 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.3172, allocations: 45.64 kB / 385.8 MB, free: 4 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002655/0.3198, allocations: 2.849 MB / 388.6 MB, free: 13.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007627/0.3206, allocations: 0.5326 MB / 389.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001679/0.3223, allocations: 1.078 MB / 390.2 MB, free: 11.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.3225, allocations: 301.1 kB / 390.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003311/0.3258, allocations: 1.705 MB / 392.2 MB, free: 9.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006978/0.3328, allocations: 5.13 MB / 397.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.3433, allocations: 7.419 MB / 404.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-05/0.3434, allocations: 36 kB / 404.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01255/0.356, allocations: 6.986 MB / 411.8 MB, free: 2.711 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/0.3561, allocations: 60 kB / 411.9 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/0.3562, allocations: 124 kB / 412 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009397/0.3571, allocations: 408.9 kB / 412.4 MB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003849/0.361, allocations: 1.251 MB / 413.6 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/0.3642, allocations: 2.368 MB / 416 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003449/0.3677, allocations: 315.6 kB / 416.3 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006074/0.3683, allocations: 338.4 kB / 416.6 MB, free: 13.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003018/0.3713, allocations: 1.787 MB / 418.4 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006116/0.3719, allocations: 322.1 kB / 418.7 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005151/0.3771, allocations: 2.32 MB / 421.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.3771, allocations: 12 kB / 421.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.3771, allocations: 8.062 kB / 421.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.3771, allocations: 7.984 kB / 421.1 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.3888, allocations: 5.163 MB / 426.2 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.3888, allocations: 4.062 kB / 426.2 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008402/0.3896, allocations: 171.8 kB / 426.4 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00243/0.392, allocations: 0.7449 MB / 427.2 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.3921, allocations: 20 kB / 427.2 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1626/0.5548, allocations: 4.696 MB / 431.9 MB, free: 122.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5548, allocations: 2.438 kB / 431.9 MB, free: 122.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007019/0.5618, allocations: 4.325 MB / 436.2 MB, free: 121.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008377/0.5627, allocations: 276.7 kB / 436.5 MB, free: 121.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.563, allocations: 24.59 kB / 436.5 MB, free: 121.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.5643, allocations: 94.89 kB / 436.6 MB, free: 121 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.5646, allocations: 70.33 kB / 436.7 MB, free: 121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.5647, allocations: 37.19 kB / 436.7 MB, free: 121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004527/0.5692, allocations: 2.034 MB / 438.7 MB, free: 120.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5692, allocations: 1.25 kB / 438.7 MB, free: 120.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007149/0.5764, allocations: 0.8931 MB / 439.6 MB, free: 120.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006408/0.577, allocations: 184.7 kB / 439.8 MB, free: 120.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007186/0.5842, allocations: 3.892 MB / 443.7 MB, free: 118.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.5842, allocations: 9.734 kB / 443.7 MB, free: 118.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.5859, allocations: 1.026 MB / 444.7 MB, free: 118.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.589, allocations: 350.8 kB / 445.1 MB, free: 118.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.6035, allocations: 7.413 MB / 452.5 MB, free: 115 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/0.6067, allocations: 2.236 MB / 454.7 MB, free: 114.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004749/0.6114, allocations: 1.608 MB / 456.3 MB, free: 113.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009209/0.6124, allocations: 200.9 kB / 456.5 MB, free: 112.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6124, allocations: 0 / 456.5 MB, free: 112.9 MB / 378.7 MB Notification: Performance of Templates: time 0.04624/0.6586, allocations: 25.92 MB / 482.4 MB, free: 88.92 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.9987553810933605]