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.0008858/0.0008858, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.000892/0.000892, allocations: 166.9 kB / 25.7 MB, free: 8.406 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.7989/0.7989, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.102e-06/1.102e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.47e-05, allocations: 10.25 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.007188/0.007203, allocations: 9.712 MB / 261.3 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.01166, allocations: 3.81 MB / 265.1 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005045/0.01216, allocations: 67.69 kB / 265.1 MB, free: 9.613 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.01444, allocations: 2.09 MB / 267.2 MB, free: 7.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.01647, allocations: 1.773 MB / 269 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000736/0.0172, allocations: 0.6742 MB / 269.7 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002582/0.01979, allocations: 3.707 MB / 273.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.02139, allocations: 2.536 MB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.0228, allocations: 1.96 MB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.02412, allocations: 1.753 MB / 279.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.02436, allocations: 260 kB / 279.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.02552, allocations: 0.9711 MB / 280.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008808/0.0264, allocations: 1.702 MB / 282.5 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007133/0.02712, allocations: 1.047 MB / 283.6 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.02959, allocations: 3.849 MB / 287.4 MB, free: 3.168 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.0296, allocations: 0 / 287.4 MB, free: 3.168 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.0296, allocations: 7.938 kB / 287.5 MB, free: 3.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.559e-05/0.02963, allocations: 0 / 287.5 MB, free: 3.16 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.003572/0.03321, allocations: 3.772 MB / 291.2 MB, free: 15.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.03324, allocations: 11.98 kB / 291.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.03537, allocations: 0.9411 MB / 292.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.03683, allocations: 1.484 MB / 293.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.762e-05/0.03692, allocations: 190.9 kB / 293.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.0372, allocations: 267.7 kB / 294.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/0.04108, allocations: 4.201 MB / 298.3 MB, free: 7.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.88e-05/0.04114, allocations: 39.64 kB / 298.3 MB, free: 7.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.04134, allocations: 131.8 kB / 298.5 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001176/0.04252, allocations: 1.469 MB / 299.9 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.04552, allocations: 2.088 MB / 302 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/0.0618, allocations: 27.44 MB / 329.5 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.06431, allocations: 1.277 MB / 330.8 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.06462, allocations: 280.5 kB / 331 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003111/0.06773, allocations: 2.993 MB / 334 MB, free: 2.633 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.06776, allocations: 51.05 kB / 334.1 MB, free: 2.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=103): time 2.655e-06/0.06776, allocations: 0 / 334.1 MB, free: 2.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.005167/0.07293, allocations: 2.673 MB / 336.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.07297, allocations: 144.9 kB / 336.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.07496, allocations: 2.915 MB / 339.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.075, allocations: 41.69 kB / 339.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.07601, allocations: 2.758 MB / 342.6 MB, free: 9.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.07623, allocations: 456.7 kB / 343 MB, free: 9.469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007079/0.07693, allocations: 1.013 MB / 344.1 MB, free: 8.445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.07699, allocations: 301.1 kB / 344.3 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009982/0.07799, allocations: 0.6152 MB / 345 MB, free: 7.527 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.08008, allocations: 4.012 MB / 349 MB, free: 1.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.09925/0.1793, allocations: 5.107 MB / 354.1 MB, free: 87.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-05/0.1794, allocations: 37.31 kB / 354.1 MB, free: 87.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003529/0.1829, allocations: 3.587 MB / 357.7 MB, free: 86.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.183, allocations: 58.44 kB / 357.8 MB, free: 86.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.898e-05/0.183, allocations: 124.9 kB / 357.9 MB, free: 86.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-05/0.1831, allocations: 168.8 kB / 358.1 MB, free: 86.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.1848, allocations: 1.211 MB / 359.3 MB, free: 86.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.862e-05/0.1849, allocations: 253.1 kB / 359.5 MB, free: 86.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.1866, allocations: 243.3 kB / 359.7 MB, free: 86.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.1868, allocations: 292 kB / 360 MB, free: 86.35 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.0008075/0.1876, allocations: 0.5642 MB / 360.6 MB, free: 86.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.1878, allocations: 175.2 kB / 360.8 MB, free: 86.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005507/0.1884, allocations: 0.5026 MB / 361.3 MB, free: 86.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.1884, allocations: 16.31 kB / 361.3 MB, free: 86.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1884, allocations: 1.406 kB / 361.3 MB, free: 86.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.1884, allocations: 8.375 kB / 361.3 MB, free: 86.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.1908, allocations: 2.195 MB / 363.5 MB, free: 85.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1908, allocations: 2.406 kB / 363.5 MB, free: 85.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.1911, allocations: 134.1 kB / 363.6 MB, free: 85.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/0.1913, allocations: 44.45 kB / 363.7 MB, free: 85.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.1913, allocations: 15.48 kB / 363.7 MB, free: 85.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007094/0.192, allocations: 1.419 MB / 365.1 MB, free: 84.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.192, allocations: 2.562 kB / 365.1 MB, free: 84.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007815/0.1928, allocations: 1.219 MB / 366.3 MB, free: 83.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/0.1932, allocations: 330.5 kB / 366.6 MB, free: 83.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.1934, allocations: 15.19 kB / 366.7 MB, free: 83.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.1938, allocations: 18.69 kB / 366.7 MB, free: 83.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.1938, allocations: 50.72 kB / 366.7 MB, free: 83.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.1939, allocations: 29.84 kB / 366.8 MB, free: 83.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007783/0.1947, allocations: 1.047 MB / 367.8 MB, free: 82.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1947, allocations: 0 / 367.8 MB, free: 82.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001975/0.1966, allocations: 0.808 MB / 368.6 MB, free: 82.03 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.0002317/0.1969, allocations: 149.7 kB / 368.8 MB, free: 81.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.1982, allocations: 1.944 MB / 370.7 MB, free: 80.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001174/0.1983, allocations: 96.16 kB / 370.8 MB, free: 80.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.1987, allocations: 347.6 kB / 371.1 MB, free: 79.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.1997, allocations: 498 kB / 371.6 MB, free: 79.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.2042, allocations: 5.782 MB / 377.4 MB, free: 74.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.2048, allocations: 0.9881 MB / 378.4 MB, free: 73.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000733/0.2056, allocations: 427.1 kB / 378.8 MB, free: 73.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/0.206, allocations: 468.8 kB / 379.3 MB, free: 72.74 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.206, allocations: 0 / 379.3 MB, free: 72.74 MB / 330.7 MB Notification: Performance of Templates: time 0.02764/0.2337, allocations: 22.26 MB / 401.5 MB, free: 50.63 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.3779867100529373]