Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.0009357/0.0009357, allocations: 84.98 kB / 23 MB, free: 1.5 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.0009607/0.0009607, allocations: 176.2 kB / 26.4 MB, free: 7.762 MB / 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.916/0.916, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.509e-05, allocations: 10.25 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.008651/0.008666, allocations: 9.704 MB / 262 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005737/0.0144, allocations: 3.678 MB / 265.7 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008584/0.01526, allocations: 71.62 kB / 265.7 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.01759, allocations: 2.051 MB / 267.8 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.01999, allocations: 1.781 MB / 269.6 MB, free: 5.871 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008589/0.02085, allocations: 0.6703 MB / 270.2 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.0238, allocations: 3.703 MB / 273.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.02606, allocations: 2.466 MB / 276.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.0278, allocations: 1.96 MB / 278.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.02945, allocations: 1.847 MB / 280.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.02974, allocations: 256 kB / 280.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.03119, allocations: 0.9827 MB / 281.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009593/0.03215, allocations: 1.699 MB / 283.1 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008028/0.03295, allocations: 1.044 MB / 284.2 MB, free: 7.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.03587, allocations: 3.857 MB / 288 MB, free: 3.289 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.03587, allocations: 4 kB / 288 MB, free: 3.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.03587, allocations: 0 / 288 MB, free: 3.285 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.425e-05/0.03592, allocations: 4 kB / 288 MB, free: 3.281 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.004255/0.04017, allocations: 4.273 MB / 292.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.04021, allocations: 15.98 kB / 292.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/0.0435, allocations: 1.286 MB / 293.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.04583, allocations: 1.617 MB / 295.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.04598, allocations: 197 kB / 295.4 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004372/0.04642, allocations: 255.8 kB / 295.7 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006208/0.05263, allocations: 4.744 MB / 300.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.032e-05/0.05271, allocations: 43.62 kB / 300.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.05293, allocations: 127.8 kB / 300.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001293/0.05422, allocations: 1.465 MB / 302 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003583/0.05781, allocations: 2.062 MB / 304.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02178/0.07959, allocations: 38.44 MB / 342.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.08232, allocations: 1.326 MB / 343.9 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.08268, allocations: 339.8 kB / 344.2 MB, free: 8.691 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003496/0.08618, allocations: 3.254 MB / 347.5 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.08621, allocations: 49.83 kB / 347.5 MB, free: 5.344 MB / 330.7 MB Notification: Performance of pre-optimization done (n=103): time 2.925e-06/0.08621, allocations: 4 kB / 347.5 MB, free: 5.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.006584/0.0928, allocations: 3.112 MB / 350.6 MB, free: 2.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.09284, allocations: 145 kB / 350.8 MB, free: 2.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1088/0.2017, allocations: 3.258 MB / 354 MB, free: 96.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.2018, allocations: 40.95 kB / 354.1 MB, free: 96.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.2031, allocations: 3.101 MB / 357.2 MB, free: 94.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/0.2035, allocations: 488.3 kB / 357.6 MB, free: 94.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008096/0.2043, allocations: 1.187 MB / 358.8 MB, free: 94.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.65e-05/0.2043, allocations: 479.4 kB / 359.3 MB, free: 94.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.2049, allocations: 449.8 kB / 359.7 MB, free: 94.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.2067, allocations: 5.703 MB / 365.4 MB, free: 87.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/0.2098, allocations: 6.765 MB / 372.2 MB, free: 80.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.195e-05/0.2098, allocations: 37.66 kB / 372.2 MB, free: 80.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003862/0.2137, allocations: 4.226 MB / 376.5 MB, free: 79.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.2137, allocations: 58.06 kB / 376.5 MB, free: 79.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.76e-05/0.2138, allocations: 124.5 kB / 376.7 MB, free: 79.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.955e-05/0.2139, allocations: 170.2 kB / 376.8 MB, free: 79.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.2156, allocations: 1.212 MB / 378 MB, free: 78.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.597e-05/0.2157, allocations: 247.8 kB / 378.3 MB, free: 78.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.2176, allocations: 244.2 kB / 378.5 MB, free: 77.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.2178, allocations: 291.5 kB / 378.8 MB, free: 77.65 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (667): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006934/0.2185, allocations: 0.6109 MB / 379.4 MB, free: 77.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.2187, allocations: 312.3 kB / 379.7 MB, free: 76.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000602/0.2194, allocations: 0.5552 MB / 380.3 MB, free: 76.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.2194, allocations: 15.92 kB / 380.3 MB, free: 76.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2194, allocations: 3.938 kB / 380.3 MB, free: 76.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.2194, allocations: 10.42 kB / 380.3 MB, free: 76.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002744/0.2221, allocations: 2.391 MB / 382.7 MB, free: 74.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2221, allocations: 8.156 kB / 382.7 MB, free: 74.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.2224, allocations: 123.7 kB / 382.8 MB, free: 74.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.2226, allocations: 46.5 kB / 382.9 MB, free: 74.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.2226, allocations: 20.7 kB / 382.9 MB, free: 74.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006496/0.2233, allocations: 1.798 MB / 384.7 MB, free: 72.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2233, allocations: 0 / 384.7 MB, free: 72.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009282/0.2242, allocations: 1.46 MB / 386.1 MB, free: 70.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.2245, allocations: 339.9 kB / 386.5 MB, free: 70.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.2247, allocations: 19.75 kB / 386.5 MB, free: 70.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.2251, allocations: 12 kB / 386.5 MB, free: 70.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.2252, allocations: 50.45 kB / 386.5 MB, free: 70.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.2252, allocations: 35.75 kB / 386.6 MB, free: 70.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008463/0.2261, allocations: 1.299 MB / 387.9 MB, free: 69.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2261, allocations: 3.828 kB / 387.9 MB, free: 69.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002063/0.2282, allocations: 0.8046 MB / 388.7 MB, free: 68.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002475/0.2284, allocations: 169.9 kB / 388.9 MB, free: 68.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.23, allocations: 2.106 MB / 391 MB, free: 66.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.23, allocations: 0 / 391 MB, free: 66.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.2304, allocations: 434.8 kB / 391.4 MB, free: 66.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.2314, allocations: 347.8 kB / 391.7 MB, free: 66.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/0.2365, allocations: 5.809 MB / 397.5 MB, free: 60.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/0.2371, allocations: 0.991 MB / 398.5 MB, free: 59.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007959/0.2379, allocations: 428.4 kB / 398.9 MB, free: 58.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.2384, allocations: 0.4981 MB / 399.4 MB, free: 58.22 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2384, allocations: 0 / 399.4 MB, free: 58.22 MB / 330.7 MB Notification: Performance of Templates: time 0.03572/0.2741, allocations: 22.79 MB / 422.2 MB, free: 35.47 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.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.7427739407867193]