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.0009896/0.0009896, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001623/0.001623, allocations: 159.3 kB / 25.75 MB, free: 8.582 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.8799/0.8799, allocations: 158.6 MB / 187.6 MB, free: 2.902 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.954e-06/1.954e-06, allocations: 0 / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.839e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.008119/0.008147, allocations: 9.977 MB / 261.1 MB, free: 13.76 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005647/0.01379, allocations: 3.706 MB / 264.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.01479, allocations: 67.69 kB / 264.9 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.0172, allocations: 2.087 MB / 267 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002832/0.02003, allocations: 1.761 MB / 268.7 MB, free: 6.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/0.021, allocations: 0.6703 MB / 269.4 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003331/0.02434, allocations: 3.703 MB / 273.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.02692, allocations: 2.474 MB / 275.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002499/0.02942, allocations: 1.914 MB / 277.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002426/0.03185, allocations: 1.866 MB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005248/0.03237, allocations: 260 kB / 279.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.03394, allocations: 0.9828 MB / 280.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.03549, allocations: 1.71 MB / 282.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.03687, allocations: 1.051 MB / 283.3 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004895/0.04176, allocations: 3.864 MB / 287.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.04177, allocations: 4 kB / 287.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04177, allocations: 0 / 287.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.81e-05/0.04187, allocations: 0 / 287.2 MB, free: 3.527 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.007028/0.0489, allocations: 4.392 MB / 291.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.04896, allocations: 11.98 kB / 291.6 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005781/0.05474, allocations: 2.191 MB / 293.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00352/0.05826, allocations: 1.745 MB / 295.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.05839, allocations: 194.9 kB / 295.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004008/0.05879, allocations: 259.8 kB / 296 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008637/0.06743, allocations: 5.249 MB / 301.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.06753, allocations: 39.64 kB / 301.3 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003308/0.06786, allocations: 127.8 kB / 301.4 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002534/0.0704, allocations: 1.703 MB / 303.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007891/0.07829, allocations: 2.752 MB / 305.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03139/0.1097, allocations: 38.62 MB / 344.5 MB, free: 7.977 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004255/0.1139, allocations: 1.604 MB / 346.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/0.1148, allocations: 496.5 kB / 346.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004239/0.119, allocations: 3.165 MB / 349.7 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.1191, allocations: 46.05 kB / 349.8 MB, free: 2.555 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 3.587e-06/0.1191, allocations: 0 / 349.8 MB, free: 2.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.139/0.258, allocations: 8.51 MB / 358.3 MB, free: 101.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.2581, allocations: 149.2 kB / 358.4 MB, free: 100.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/0.2609, allocations: 3.193 MB / 361.6 MB, free: 100.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.261, allocations: 40.95 kB / 361.7 MB, free: 100.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.2622, allocations: 3.007 MB / 364.7 MB, free: 98.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.2626, allocations: 0.5648 MB / 365.2 MB, free: 98.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008568/0.2635, allocations: 1.163 MB / 366.4 MB, free: 97.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.2635, allocations: 484.6 kB / 366.9 MB, free: 97.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009589/0.2645, allocations: 0.5475 MB / 367.4 MB, free: 97.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.2666, allocations: 5.632 MB / 373.1 MB, free: 89.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004275/0.2709, allocations: 6.827 MB / 379.9 MB, free: 80.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.862e-05/0.271, allocations: 32 kB / 379.9 MB, free: 80.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.00685/0.2778, allocations: 4.661 MB / 384.6 MB, free: 75.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.876e-05/0.2779, allocations: 58.97 kB / 384.6 MB, free: 75.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.278, allocations: 120 kB / 384.8 MB, free: 75.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/0.2785, allocations: 344 kB / 385.1 MB, free: 75.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/0.2807, allocations: 1.244 MB / 386.3 MB, free: 73.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.2821, allocations: 2.433 MB / 388.8 MB, free: 71.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.2855, allocations: 327.5 kB / 389.1 MB, free: 71.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004626/0.286, allocations: 330.6 kB / 389.4 MB, free: 70.77 MB / 330.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.001137/0.2871, allocations: 0.6091 MB / 390 MB, free: 70.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004332/0.2876, allocations: 318.1 kB / 390.3 MB, free: 69.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.2898, allocations: 1.315 MB / 391.6 MB, free: 68.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.2898, allocations: 23.88 kB / 391.7 MB, free: 68.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.2898, allocations: 4 kB / 391.7 MB, free: 68.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.2898, allocations: 7.969 kB / 391.7 MB, free: 68.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005961/0.2958, allocations: 4.207 MB / 395.9 MB, free: 64.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.2958, allocations: 8.062 kB / 395.9 MB, free: 64.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.2962, allocations: 163.8 kB / 396.1 MB, free: 64.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.2972, allocations: 448.9 kB / 396.5 MB, free: 63.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.061e-05/0.2973, allocations: 16 kB / 396.5 MB, free: 63.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.2996, allocations: 2.921 MB / 399.4 MB, free: 60.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2996, allocations: 0 / 399.4 MB, free: 60.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/0.3026, allocations: 2.288 MB / 401.7 MB, free: 58.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008227/0.3034, allocations: 433.8 kB / 402.1 MB, free: 57.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.3037, allocations: 26.98 kB / 402.2 MB, free: 57.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006842/0.3043, allocations: 103.3 kB / 402.3 MB, free: 57.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.3045, allocations: 64.53 kB / 402.3 MB, free: 57.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-05/0.3046, allocations: 43.92 kB / 402.4 MB, free: 57.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001722/0.3063, allocations: 1.37 MB / 403.7 MB, free: 56.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3063, allocations: 0 / 403.7 MB, free: 56.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003573/0.3099, allocations: 0.8944 MB / 404.6 MB, free: 55.33 MB / 330.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.0004533/0.3103, allocations: 174.3 kB / 404.8 MB, free: 55.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004156/0.3145, allocations: 2.561 MB / 407.4 MB, free: 52.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.3145, allocations: 0 / 407.4 MB, free: 52.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008325/0.3153, allocations: 0.623 MB / 408 MB, free: 51.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.3172, allocations: 347.8 kB / 408.3 MB, free: 51.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008194/0.3254, allocations: 5.969 MB / 414.3 MB, free: 45.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.3261, allocations: 1.01 MB / 415.3 MB, free: 44.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002133/0.3283, allocations: 1.399 MB / 416.7 MB, free: 43.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/0.3287, allocations: 196.5 kB / 416.9 MB, free: 42.97 MB / 330.7 MB Notification: Performance of SimCode: time 2.364e-06/0.3287, allocations: 0 / 416.9 MB, free: 42.97 MB / 330.7 MB Notification: Performance of Templates: time 0.03804/0.3668, allocations: 26.13 MB / 443 MB, free: 16.91 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.8552317209541798]