Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001944/0.001944, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002265/0.002265, allocations: 161.4 kB / 25.02 MB, free: 8.953 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 1.519/1.519, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.546e-05, allocations: 2.312 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009533/0.009568, allocations: 6.621 MB / 257 MB, free: 1.164 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006961/0.01653, allocations: 3.059 MB / 260 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.01764, allocations: 35.88 kB / 260.1 MB, free: 14.06 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.02011, allocations: 1.078 MB / 261.2 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004028/0.02413, allocations: 1.451 MB / 262.6 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.02557, allocations: 490.9 kB / 263.1 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004554/0.03013, allocations: 2.976 MB / 266.1 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.03247, allocations: 1.632 MB / 267.7 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.0347, allocations: 1.329 MB / 269 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.03716, allocations: 1.403 MB / 270.4 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003885/0.03755, allocations: 176 kB / 270.6 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.03966, allocations: 0.9826 MB / 271.6 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.04104, allocations: 1.188 MB / 272.8 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.04214, allocations: 0.7358 MB / 273.5 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006887/0.04902, allocations: 4.415 MB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.04903, allocations: 0 / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.04903, allocations: 0 / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001319/0.04916, allocations: 0 / 277.9 MB, free: 12.14 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.007828/0.05699, allocations: 3.095 MB / 281 MB, free: 9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.05704, allocations: 15.92 kB / 281 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007859/0.0649, allocations: 2.215 MB / 283.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003704/0.06861, allocations: 1.364 MB / 284.6 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.06875, allocations: 135.4 kB / 284.7 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007668/0.06952, allocations: 263.6 kB / 285 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/0.08267, allocations: 6.697 MB / 291.7 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.742e-05/0.08275, allocations: 27.69 kB / 291.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002769/0.08303, allocations: 87.89 kB / 291.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002457/0.08549, allocations: 1.374 MB / 293.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/0.09863, allocations: 6.044 MB / 299.2 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03701/0.1356, allocations: 24.23 MB / 323.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007288/0.1429, allocations: 2.195 MB / 325.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.1446, allocations: 0.989 MB / 326.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006723/0.1513, allocations: 2.825 MB / 329.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.659e-05/0.1514, allocations: 51.05 kB / 329.5 MB, free: 7.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=112): time 3.587e-06/0.1514, allocations: 0 / 329.5 MB, free: 7.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.03036/0.1817, allocations: 10.34 MB / 339.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001814/0.1836, allocations: 1.556 MB / 341.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004959/0.1885, allocations: 2.735 MB / 344.1 MB, free: 8.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003757/0.1889, allocations: 45.69 kB / 344.2 MB, free: 8.223 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002244/0.1911, allocations: 2.151 MB / 346.3 MB, free: 6.047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009634/0.1921, allocations: 0.5234 MB / 346.9 MB, free: 5.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/0.1936, allocations: 0.9095 MB / 347.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002489/0.1939, allocations: 353.9 kB / 348.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/0.197, allocations: 1.688 MB / 349.8 MB, free: 2.551 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1539/0.3509, allocations: 4.48 MB / 354.3 MB, free: 97.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006722/0.3577, allocations: 6.58 MB / 360.9 MB, free: 92.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/0.3578, allocations: 30.28 kB / 360.9 MB, free: 92.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01859/0.3764, allocations: 8.281 MB / 369.2 MB, free: 89.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.16e-05/0.3764, allocations: 55.06 kB / 369.2 MB, free: 89.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01064/0.3871, allocations: 3.516 MB / 372.8 MB, free: 86.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01187/0.3989, allocations: 2.685 MB / 375.4 MB, free: 83.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003195/0.4021, allocations: 1.025 MB / 376.5 MB, free: 82.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.4141, allocations: 9.362 MB / 385.8 MB, free: 73.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004484/0.4186, allocations: 408 kB / 386.2 MB, free: 73.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006205/0.4192, allocations: 281.1 kB / 386.5 MB, free: 72.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001824/0.4211, allocations: 1.424 MB / 387.9 MB, free: 71.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004866/0.4215, allocations: 256.8 kB / 388.2 MB, free: 71.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005748/0.4273, allocations: 2.802 MB / 391 MB, free: 68.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005128/0.4324, allocations: 2.501 MB / 393.5 MB, free: 65.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.4324, allocations: 4 kB / 393.5 MB, free: 65.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.4324, allocations: 3.984 kB / 393.5 MB, free: 65.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.4439, allocations: 6.267 MB / 399.7 MB, free: 59.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.4439, allocations: 4 kB / 399.8 MB, free: 59.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007593/0.4446, allocations: 175.7 kB / 399.9 MB, free: 59.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004568/0.4492, allocations: 1.535 MB / 401.5 MB, free: 57.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.4493, allocations: 39.28 kB / 401.5 MB, free: 57.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008023/0.4573, allocations: 7.63 MB / 409.1 MB, free: 50.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006804/0.458, allocations: 1.421 MB / 410.5 MB, free: 48.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007558/0.4656, allocations: 4.86 MB / 415.4 MB, free: 43.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006109/0.4662, allocations: 231.4 kB / 415.6 MB, free: 43.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/0.4664, allocations: 23.94 kB / 415.7 MB, free: 43.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.4677, allocations: 158.6 kB / 415.8 MB, free: 43.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.468, allocations: 84.42 kB / 415.9 MB, free: 43.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.844e-05/0.4681, allocations: 38.92 kB / 415.9 MB, free: 43.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001941/0.47, allocations: 1.577 MB / 417.5 MB, free: 41.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.47, allocations: 0 / 417.5 MB, free: 41.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004039/0.4741, allocations: 0.8695 MB / 418.4 MB, free: 40.9 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004941/0.4746, allocations: 184.6 kB / 418.6 MB, free: 40.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006802/0.4814, allocations: 4.228 MB / 422.8 MB, free: 36.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.4814, allocations: 4 kB / 422.8 MB, free: 36.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002645/0.484, allocations: 1.567 MB / 424.4 MB, free: 34.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.4858, allocations: 270.1 kB / 424.6 MB, free: 34.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008705/0.4945, allocations: 6.551 MB / 431.2 MB, free: 28.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.4961, allocations: 1.724 MB / 432.9 MB, free: 26.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002728/0.4988, allocations: 1.391 MB / 434.3 MB, free: 24.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.4992, allocations: 160.5 kB / 434.4 MB, free: 24.71 MB / 330.7 MB Notification: Performance of SimCode: time 1.412e-06/0.4992, allocations: 0 / 434.4 MB, free: 24.71 MB / 330.7 MB Notification: Performance of Templates: time 0.04524/0.5444, allocations: 28.54 MB / 463 MB, free: 12.16 MB / 346.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.293145767063834]