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.001009/0.001009, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001223/0.001223, allocations: 166.8 kB / 25.33 MB, free: 9.465 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.9097/0.9097, allocations: 158.6 MB / 187.2 MB, free: 2.945 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.593e-06/1.593e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.651e-05, allocations: 2.312 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.008469/0.008486, allocations: 10.01 MB / 261.1 MB, free: 13.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005155/0.01364, allocations: 3.721 MB / 264.8 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007018/0.01434, allocations: 67.69 kB / 264.8 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002435/0.01678, allocations: 2.087 MB / 266.9 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.01926, allocations: 1.773 MB / 268.7 MB, free: 5.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009614/0.02022, allocations: 0.6703 MB / 269.4 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003155/0.02338, allocations: 3.703 MB / 273.1 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002454/0.02583, allocations: 2.47 MB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.02776, allocations: 1.914 MB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.02955, allocations: 1.87 MB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003597/0.02991, allocations: 256 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.03117, allocations: 0.9789 MB / 280.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.03244, allocations: 1.71 MB / 282.3 MB, free: 8.137 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008438/0.03328, allocations: 1.051 MB / 283.3 MB, free: 7.082 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003271/0.03656, allocations: 3.872 MB / 287.2 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.03656, allocations: 0 / 287.2 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.03656, allocations: 0 / 287.2 MB, free: 3.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.668e-05/0.03662, allocations: 0 / 287.2 MB, free: 3.195 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.004811/0.04143, allocations: 4.398 MB / 291.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.04148, allocations: 11.98 kB / 291.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003599/0.04508, allocations: 2.191 MB / 293.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.04728, allocations: 1.742 MB / 295.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.125e-05/0.04737, allocations: 193 kB / 295.7 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/0.04766, allocations: 259.8 kB / 296 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005245/0.05291, allocations: 5.241 MB / 301.2 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.126e-05/0.05297, allocations: 39.69 kB / 301.3 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004644/0.05343, allocations: 123.9 kB / 301.4 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001558/0.05499, allocations: 1.703 MB / 303.1 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004609/0.0596, allocations: 2.764 MB / 305.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02393/0.08353, allocations: 38.62 MB / 344.5 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/0.08717, allocations: 1.616 MB / 346.1 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.0878, allocations: 496.6 kB / 346.6 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00331/0.09111, allocations: 3.161 MB / 349.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.09115, allocations: 57.97 kB / 349.8 MB, free: 2.211 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 3.397e-06/0.09115, allocations: 4 kB / 349.8 MB, free: 2.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.1602/0.2513, allocations: 8.503 MB / 358.3 MB, free: 94.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.2514, allocations: 144 kB / 358.4 MB, free: 94.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003307/0.2547, allocations: 3.193 MB / 361.6 MB, free: 93.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.2548, allocations: 41.3 kB / 361.7 MB, free: 93.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.2561, allocations: 3.02 MB / 364.7 MB, free: 92.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/0.2565, allocations: 0.5542 MB / 365.2 MB, free: 91.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008619/0.2574, allocations: 1.167 MB / 366.4 MB, free: 91.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.2574, allocations: 476.8 kB / 366.9 MB, free: 91.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009186/0.2584, allocations: 0.5487 MB / 367.4 MB, free: 91.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.2606, allocations: 5.627 MB / 373 MB, free: 84.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004283/0.2649, allocations: 6.823 MB / 379.9 MB, free: 76.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.152e-05/0.265, allocations: 36 kB / 379.9 MB, free: 76.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.006001/0.271, allocations: 4.666 MB / 384.6 MB, free: 72.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/0.2711, allocations: 64.03 kB / 384.6 MB, free: 72.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/0.2712, allocations: 120 kB / 384.7 MB, free: 71.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/0.2717, allocations: 336.6 kB / 385.1 MB, free: 71.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/0.2737, allocations: 1.248 MB / 386.3 MB, free: 70.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.2751, allocations: 2.425 MB / 388.7 MB, free: 68.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/0.2775, allocations: 331.8 kB / 389.1 MB, free: 67.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/0.2777, allocations: 335.7 kB / 389.4 MB, free: 67.5 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.0009606/0.2787, allocations: 0.6021 MB / 390 MB, free: 66.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/0.2791, allocations: 326 kB / 390.3 MB, free: 66.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.2809, allocations: 1.308 MB / 391.6 MB, free: 65.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.281, allocations: 16 kB / 391.6 MB, free: 65.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.281, allocations: 4 kB / 391.6 MB, free: 65.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.281, allocations: 11.91 kB / 391.7 MB, free: 65.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005726/0.2867, allocations: 4.218 MB / 395.9 MB, free: 61.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.2867, allocations: 0 / 395.9 MB, free: 61.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.2871, allocations: 171.8 kB / 396 MB, free: 60.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.2882, allocations: 442.9 kB / 396.5 MB, free: 60.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.2882, allocations: 22.89 kB / 396.5 MB, free: 60.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.2905, allocations: 2.916 MB / 399.4 MB, free: 57.44 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2905, allocations: 0 / 399.4 MB, free: 57.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.2932, allocations: 2.281 MB / 401.7 MB, free: 55.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008584/0.2941, allocations: 435.1 kB / 402.1 MB, free: 54.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/0.2944, allocations: 27.94 kB / 402.1 MB, free: 54.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006243/0.295, allocations: 98.89 kB / 402.2 MB, free: 54.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.2951, allocations: 72.52 kB / 402.3 MB, free: 54.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.2952, allocations: 32 kB / 402.3 MB, free: 54.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001492/0.2967, allocations: 1.362 MB / 403.7 MB, free: 53.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2967, allocations: 4.031 kB / 403.7 MB, free: 53.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003313/0.3, allocations: 0.8944 MB / 404.6 MB, free: 52.21 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.0003535/0.3003, allocations: 181 kB / 404.8 MB, free: 52.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003786/0.3041, allocations: 2.556 MB / 407.3 MB, free: 49.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.3041, allocations: 0.5625 kB / 407.3 MB, free: 49.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006923/0.3048, allocations: 0.6337 MB / 408 MB, free: 48.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.3062, allocations: 351 kB / 408.3 MB, free: 48.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007975/0.3142, allocations: 5.966 MB / 414.3 MB, free: 42.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.3149, allocations: 1.01 MB / 415.3 MB, free: 41.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00189/0.3167, allocations: 1.398 MB / 416.7 MB, free: 40.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.3171, allocations: 200.5 kB / 416.9 MB, free: 39.85 MB / 330.7 MB Notification: Performance of SimCode: time 2.294e-06/0.3171, allocations: 0 / 416.9 MB, free: 39.85 MB / 330.7 MB Notification: Performance of Templates: time 0.03459/0.3517, allocations: 26.12 MB / 443 MB, free: 13.81 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: 4.034821058157831]