Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001404/0.001404, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001498/0.001498, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.908e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009784/0.009814, allocations: 6.594 MB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006876/0.01669, allocations: 3.074 MB / 282 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008976/0.01759, allocations: 39.81 kB / 282 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002394/0.01998, allocations: 1.074 MB / 283.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003496/0.02348, allocations: 1.42 MB / 284.5 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.0246, allocations: 498.8 kB / 285 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003889/0.02849, allocations: 3.018 MB / 288 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.0306, allocations: 1.629 MB / 289.7 MB, free: 408 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1189/0.1495, allocations: 1.302 MB / 291 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002158/0.1517, allocations: 1.396 MB / 292.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.152, allocations: 175.4 kB / 292.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.1539, allocations: 0.9651 MB / 293.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.155, allocations: 1.162 MB / 294.7 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009548/0.1559, allocations: 0.7182 MB / 295.4 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00449/0.1604, allocations: 4.374 MB / 299.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1604, allocations: 0.5312 kB / 299.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1604, allocations: 0.5938 kB / 299.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.262e-05/0.1605, allocations: 1.094 kB / 299.8 MB, free: 15.82 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.005688/0.1661, allocations: 3.062 MB / 302.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1662, allocations: 11.12 kB / 302.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00701/0.1732, allocations: 2.266 MB / 305.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.1754, allocations: 1.335 MB / 306.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.865e-05/0.1755, allocations: 139.2 kB / 306.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000585/0.1761, allocations: 260.1 kB / 306.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008304/0.1844, allocations: 6.695 MB / 313.5 MB, free: 7.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.085e-05/0.1844, allocations: 33.44 kB / 313.5 MB, free: 7.711 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.1847, allocations: 88.05 kB / 313.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001691/0.1864, allocations: 1.37 MB / 315 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008967/0.1954, allocations: 6.055 MB / 321.1 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/0.2301, allocations: 24.22 MB / 345.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007409/0.2375, allocations: 2.199 MB / 347.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.2391, allocations: 0.9922 MB / 348.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006206/0.2453, allocations: 2.834 MB / 351.3 MB, free: 1.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.2453, allocations: 47 kB / 351.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=112): time 3.286e-06/0.2453, allocations: 0 / 351.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.03035/0.2757, allocations: 10.36 MB / 361.7 MB, free: 7.234 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001646/0.2773, allocations: 1.547 MB / 363.3 MB, free: 5.551 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004881/0.2822, allocations: 2.683 MB / 365.9 MB, free: 2.832 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003162/0.2825, allocations: 41.7 kB / 366 MB, free: 2.785 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001891/0.2844, allocations: 2.154 MB / 368.1 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007402/0.2852, allocations: 0.5227 MB / 368.7 MB, free: 128 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001508/0.2867, allocations: 0.9081 MB / 369.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002463/0.2869, allocations: 358 kB / 369.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003045/0.29, allocations: 1.688 MB / 371.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006141/0.2961, allocations: 4.488 MB / 376.1 MB, free: 7.301 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009777/0.3059, allocations: 6.59 MB / 382.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.625e-05/0.306, allocations: 28 kB / 382.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02358/0.3295, allocations: 8.371 MB / 391.1 MB, free: 6.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.3297, allocations: 49 kB / 391.1 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01324/0.343, allocations: 3.611 MB / 394.7 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01348/0.3564, allocations: 2.764 MB / 397.5 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003937/0.3604, allocations: 1.025 MB / 398.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/0.3785, allocations: 9.396 MB / 407.9 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004375/0.3828, allocations: 399.5 kB / 408.3 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/0.3839, allocations: 281 kB / 408.6 MB, free: 5.207 MB / 362.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.003496/0.3874, allocations: 1.417 MB / 410 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008418/0.3882, allocations: 258.5 kB / 410.3 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.3893, allocations: 307.7 kB / 410.6 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00691/0.3962, allocations: 2.512 MB / 413.1 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/0.3962, allocations: 4 kB / 413.1 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.13e-05/0.3962, allocations: 7.984 kB / 413.1 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/0.4142, allocations: 6.259 MB / 419.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.4142, allocations: 0 / 419.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009914/0.4152, allocations: 183 kB / 419.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006103/0.4213, allocations: 1.527 MB / 421 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003187/0.4216, allocations: 38.94 kB / 421.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/0.4352, allocations: 7.631 MB / 428.7 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1342/0.5695, allocations: 1.405 MB / 430.1 MB, free: 121.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/0.5804, allocations: 4.866 MB / 435 MB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000797/0.5812, allocations: 218.6 kB / 435.2 MB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007026/0.5819, allocations: 34.08 kB / 435.2 MB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/0.5838, allocations: 152 kB / 435.4 MB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004136/0.5843, allocations: 81.28 kB / 435.5 MB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.5844, allocations: 43.16 kB / 435.5 MB, free: 120.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003132/0.5875, allocations: 1.542 MB / 437 MB, free: 120.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5875, allocations: 1.375 kB / 437 MB, free: 120.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004657/0.5922, allocations: 0.8551 MB / 437.9 MB, free: 120.2 MB / 378.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.0004943/0.5927, allocations: 176.7 kB / 438.1 MB, free: 120.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007092/0.5998, allocations: 4.234 MB / 442.3 MB, free: 118.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.5998, allocations: 0 / 442.3 MB, free: 118.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002825/0.6026, allocations: 1.585 MB / 443.9 MB, free: 118.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.6045, allocations: 256.7 kB / 444.1 MB, free: 117.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009008/0.6135, allocations: 6.531 MB / 450.7 MB, free: 114.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/0.6153, allocations: 1.724 MB / 452.4 MB, free: 113.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002631/0.6179, allocations: 1.388 MB / 453.8 MB, free: 112.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/0.6184, allocations: 160.6 kB / 453.9 MB, free: 112.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6184, allocations: 0 / 453.9 MB, free: 112.5 MB / 378.7 MB Notification: Performance of Templates: time 0.04247/0.6608, allocations: 28.19 MB / 482.1 MB, free: 85.71 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.012815351015888]