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.001126/0.001126, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.002172, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007282/0.0007282, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009218/0.00165, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9051/0.9051, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.168/1.073, allocations: 49.48 MB / 220.5 MB, free: 1.449 MB / 218.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 5.03e-06/5.03e-06, allocations: 3.984 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.957e-05, allocations: 10.25 kB / 221.8 MB, free: 156 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01271/0.01274, allocations: 9.814 MB / 231.7 MB, free: 6.289 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009382/0.02212, allocations: 3.856 MB / 235.5 MB, free: 2.418 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.02441, allocations: 67.69 kB / 235.6 MB, free: 2.352 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004183/0.02859, allocations: 1.989 MB / 237.6 MB, free: 364 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00432/0.03291, allocations: 1.73 MB / 239.3 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.0341, allocations: 0.6197 MB / 239.9 MB, free: 14 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003115/0.03722, allocations: 3.599 MB / 243.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.0389, allocations: 2.252 MB / 245.8 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.04049, allocations: 2.045 MB / 247.8 MB, free: 6.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.04187, allocations: 1.746 MB / 249.6 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.0421, allocations: 256 kB / 249.8 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.04327, allocations: 1.006 MB / 250.8 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008714/0.04415, allocations: 1.531 MB / 252.4 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000696/0.04484, allocations: 0.8646 MB / 253.2 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.04765, allocations: 3.592 MB / 256.8 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.384e-05/0.04766, allocations: 4 kB / 256.8 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.04766, allocations: 0 / 256.8 MB, free: 13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.394e-05/0.0477, allocations: 0 / 256.8 MB, free: 13 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.003738/0.05144, allocations: 4.564 MB / 261.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.05147, allocations: 8.031 kB / 261.4 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.05353, allocations: 0.9411 MB / 262.3 MB, free: 7.418 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.05495, allocations: 1.492 MB / 263.8 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-05/0.05505, allocations: 197 kB / 264 MB, free: 5.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.05532, allocations: 247.9 kB / 264.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003939/0.05926, allocations: 4.213 MB / 268.5 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.694e-05/0.05932, allocations: 31.69 kB / 268.5 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.05953, allocations: 123.9 kB / 268.6 MB, free: 412 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001249/0.06078, allocations: 1.477 MB / 270.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/0.06403, allocations: 2.099 MB / 272.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1438/0.2078, allocations: 27.43 MB / 299.6 MB, free: 25.1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.2104, allocations: 1.255 MB / 300.9 MB, free: 24.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.2107, allocations: 272.6 kB / 301.1 MB, free: 24.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003414/0.2141, allocations: 2.977 MB / 304.1 MB, free: 23.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.2142, allocations: 45.44 kB / 304.2 MB, free: 23.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=103): time 3.596e-06/0.2142, allocations: 0 / 304.2 MB, free: 23.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.00647/0.2206, allocations: 2.631 MB / 306.8 MB, free: 23.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.2207, allocations: 138.8 kB / 306.9 MB, free: 23.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.2227, allocations: 2.909 MB / 309.8 MB, free: 22.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.2227, allocations: 43.02 kB / 309.9 MB, free: 22.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009025/0.2236, allocations: 2.764 MB / 312.6 MB, free: 20.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.2238, allocations: 464 kB / 313.1 MB, free: 20.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006743/0.2245, allocations: 1.01 MB / 314.1 MB, free: 20.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.558e-05/0.2245, allocations: 307.8 kB / 314.4 MB, free: 19.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007851/0.2253, allocations: 0.6152 MB / 315 MB, free: 19.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.227, allocations: 4.009 MB / 319 MB, free: 15.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.2297, allocations: 5.112 MB / 324.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.189e-05/0.2297, allocations: 36.75 kB / 324.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003052/0.2328, allocations: 3.59 MB / 327.8 MB, free: 9.246 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.2328, allocations: 57 kB / 327.8 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-05/0.2329, allocations: 128.2 kB / 327.9 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.076e-05/0.233, allocations: 163 kB / 328.1 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/0.2349, allocations: 1.355 MB / 329.5 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-05/0.2349, allocations: 247 kB / 329.7 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.2364, allocations: 246.6 kB / 329.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.2366, allocations: 292 kB / 330.2 MB, free: 7.074 MB / 282.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.0006318/0.2372, allocations: 0.5627 MB / 330.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.2374, allocations: 175.4 kB / 331 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005177/0.2379, allocations: 0.5051 MB / 331.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.238, allocations: 12 kB / 331.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.238, allocations: 0 / 331.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.238, allocations: 7.984 kB / 331.5 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.2407, allocations: 2.205 MB / 333.7 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2407, allocations: 0 / 333.7 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.241, allocations: 143.8 kB / 333.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.2413, allocations: 320.6 kB / 334.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/0.2414, allocations: 51.8 kB / 334.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.2415, allocations: 12 kB / 334.2 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006835/0.2422, allocations: 1.427 MB / 335.6 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2422, allocations: 10.58 kB / 335.6 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007227/0.2429, allocations: 1.221 MB / 336.9 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.243, allocations: 16 kB / 336.9 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.2434, allocations: 19.98 kB / 336.9 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.2435, allocations: 55.84 kB / 337 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.2435, allocations: 20 kB / 337 MB, free: 116 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007804/0.2443, allocations: 1.04 MB / 338 MB, free: 15.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2443, allocations: 4 kB / 338 MB, free: 15.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001931/0.2462, allocations: 0.8085 MB / 338.8 MB, free: 14.26 MB / 298.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.0002488/0.2465, allocations: 160.1 kB / 339 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.2481, allocations: 1.927 MB / 340.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001419/0.2482, allocations: 108.1 kB / 341 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.2486, allocations: 352.8 kB / 341.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.2498, allocations: 0.6755 MB / 342 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007797/0.2576, allocations: 5.901 MB / 347.9 MB, free: 5.082 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008225/0.2584, allocations: 0.9866 MB / 348.9 MB, free: 4.074 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0009023/0.2593, allocations: 430.1 kB / 349.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/0.26, allocations: 465.2 kB / 349.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of SimCode: time 1.633e-06/0.26, allocations: 4 kB / 349.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of Templates: time 0.0349/0.2949, allocations: 22.82 MB / 372.6 MB, free: 12.41 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 -ignoreHideResult -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.569809241220355]