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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 107.1 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 189.1 kB / 22.93 MB, free: 5.582 MB / 14.72 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.41/1.41, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 55.91 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2989, allocations: 49.13 MB / 394.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008281/0.3072, allocations: 7.491 MB / 402 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006751/0.314, allocations: 3.29 MB / 405.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.3154, allocations: 36.59 kB / 405.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002312/0.3177, allocations: 1.048 MB / 406.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.3217, allocations: 1.393 MB / 407.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.3229, allocations: 458.1 kB / 408.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004134/0.3271, allocations: 2.633 MB / 410.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.3287, allocations: 1.191 MB / 412.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.33, allocations: 0.8523 MB / 412.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.3318, allocations: 1.334 MB / 414.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003765/0.3322, allocations: 178.5 kB / 414.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.3344, allocations: 1.055 MB / 415.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.3356, allocations: 1.137 MB / 416.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.337, allocations: 1.306 MB / 417.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005884/0.3429, allocations: 4.377 MB / 422.3 MB, free: 8.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3429, allocations: 0 / 422.3 MB, free: 8.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3429, allocations: 0 / 422.3 MB, free: 8.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001511/0.3431, allocations: 0 / 422.3 MB, free: 8.035 MB / 334.1 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.00673/0.3498, allocations: 3.139 MB / 425.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3498, allocations: 8.031 kB / 425.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006594/0.3564, allocations: 1.754 MB / 427.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/0.3597, allocations: 1.453 MB / 428.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.3599, allocations: 135.3 kB / 428.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008241/0.3607, allocations: 259.6 kB / 429 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.3751, allocations: 6.66 MB / 435.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.97e-05/0.3752, allocations: 27.75 kB / 435.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003791/0.3756, allocations: 87.89 kB / 435.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002612/0.3782, allocations: 1.363 MB / 437.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.392, allocations: 6.037 MB / 443.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03473/0.4267, allocations: 25.58 MB / 468.8 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007136/0.4338, allocations: 2.596 MB / 471.4 MB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.4354, allocations: 0.9969 MB / 472.4 MB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006262/0.4416, allocations: 3.913 MB / 476.3 MB, free: 300 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4417, allocations: 39.12 kB / 476.3 MB, free: 252 kB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 3.116e-06/0.4417, allocations: 0 / 476.3 MB, free: 252 kB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.02819/0.4699, allocations: 10.43 MB / 486.7 MB, free: 5.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001761/0.4716, allocations: 1.69 MB / 488.4 MB, free: 3.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0045/0.4761, allocations: 2.738 MB / 491.2 MB, free: 1.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003374/0.4765, allocations: 45.64 kB / 491.2 MB, free: 0.9805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.4782, allocations: 2.171 MB / 493.4 MB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000641/0.4788, allocations: 0.5234 MB / 493.9 MB, free: 14.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.4802, allocations: 0.925 MB / 494.8 MB, free: 13.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4803, allocations: 304.9 kB / 495.1 MB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00273/0.483, allocations: 1.656 MB / 496.8 MB, free: 11.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004916/0.488, allocations: 4.456 MB / 0.4895 GB, free: 5.492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008317/0.4963, allocations: 6.533 MB / 0.4959 GB, free: 13.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-05/0.4963, allocations: 28 kB / 0.4959 GB, free: 13.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02104/0.5174, allocations: 8.006 MB / 0.5037 GB, free: 5.508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.971e-05/0.5175, allocations: 48.94 kB / 0.5038 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0117/0.5292, allocations: 3.476 MB / 0.5072 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01187/0.541, allocations: 2.584 MB / 0.5097 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004119/0.5451, allocations: 1.002 MB / 0.5107 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.561, allocations: 9.706 MB / 0.5202 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003989/0.565, allocations: 327.7 kB / 0.5205 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007173/0.5657, allocations: 288 kB / 0.5207 GB, free: 3.785 MB / 446.1 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.002544/0.5682, allocations: 1.43 MB / 0.5221 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004939/0.5687, allocations: 246.4 kB / 0.5224 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006759/0.5755, allocations: 2.823 MB / 0.5251 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006086/0.5816, allocations: 2.501 MB / 0.5276 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.5816, allocations: 4 kB / 0.5276 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.892e-05/0.5816, allocations: 11.95 kB / 0.5276 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.596, allocations: 6.851 MB / 0.5343 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.596, allocations: 0 / 0.5343 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000853/0.5969, allocations: 175.7 kB / 0.5344 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004763/0.6017, allocations: 1.442 MB / 0.5359 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/0.6019, allocations: 23.98 kB / 0.5359 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.6129, allocations: 7.924 MB / 0.5436 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001262/0.6142, allocations: 1.533 MB / 0.5451 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009239/0.6234, allocations: 4.859 MB / 0.5499 GB, free: 5.336 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009066/0.6243, allocations: 303.4 kB / 0.5501 GB, free: 5.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/0.6246, allocations: 27.98 kB / 0.5502 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.6258, allocations: 111.8 kB / 0.5503 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/0.6261, allocations: 80.38 kB / 0.5504 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.6263, allocations: 43.97 kB / 0.5504 GB, free: 4.762 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002867/0.6291, allocations: 1.693 MB / 0.552 GB, free: 3.059 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6291, allocations: 0 / 0.552 GB, free: 3.059 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004129/0.6332, allocations: 0.789 MB / 0.5528 GB, free: 2.27 MB / 478.1 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.0004114/0.6337, allocations: 170.8 kB / 0.553 GB, free: 2.094 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2143/0.848, allocations: 4.258 MB / 0.5571 GB, free: 149.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.848, allocations: 5.188 kB / 0.5571 GB, free: 149.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00327/0.8513, allocations: 1.654 MB / 0.5588 GB, free: 149.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.8535, allocations: 264.8 kB / 0.559 GB, free: 149.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.8654, allocations: 6.702 MB / 0.5656 GB, free: 146.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002562/0.868, allocations: 2.302 MB / 0.5678 GB, free: 145.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003336/0.8713, allocations: 1.406 MB / 0.5692 GB, free: 145.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.8718, allocations: 167.5 kB / 0.5693 GB, free: 145.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.603e-06/0.8718, allocations: 0 / 0.5693 GB, free: 145.2 MB / 478.1 MB Notification: Performance of Templates: time 0.04562/0.9174, allocations: 30.17 MB / 0.5988 GB, free: 123.6 MB / 478.1 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.403440868481994]