Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001583/0.001583, allocations: 113 kB / 19.04 MB, free: 3.254 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.001742/0.001742, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 47.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.298, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.0101/0.3081, allocations: 7.498 MB / 428.4 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007917/0.3161, allocations: 3.296 MB / 431.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.3175, allocations: 31.94 kB / 431.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.32, allocations: 1.035 MB / 432.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.3242, allocations: 1.397 MB / 434.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.3254, allocations: 463.1 kB / 434.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004021/0.3294, allocations: 2.641 MB / 437.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.3311, allocations: 1.172 MB / 438.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.3325, allocations: 0.8485 MB / 439.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.3342, allocations: 1.335 MB / 440.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.3345, allocations: 172 kB / 440.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.3365, allocations: 1.069 MB / 441.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.3377, allocations: 1.141 MB / 443 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.339, allocations: 1.305 MB / 444.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00561/0.3447, allocations: 4.378 MB / 448.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3447, allocations: 0 / 448.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3447, allocations: 0 / 448.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.175e-05/0.3447, allocations: 0 / 448.6 MB, free: 3.215 MB / 350.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.006511/0.3513, allocations: 3.124 MB / 451.8 MB, free: 28 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.3513, allocations: 12.03 kB / 451.8 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006336/0.3576, allocations: 1.748 MB / 453.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.3609, allocations: 1.416 MB / 454.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.361, allocations: 135.3 kB / 455.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006992/0.3617, allocations: 255.7 kB / 455.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/0.3742, allocations: 6.656 MB / 462 MB, free: 5.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.498e-05/0.3742, allocations: 31.7 kB / 462 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/0.3745, allocations: 87.89 kB / 462.1 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/0.3768, allocations: 1.363 MB / 463.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.3892, allocations: 6.033 MB / 469.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03579/0.425, allocations: 25.59 MB / 495.1 MB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007036/0.432, allocations: 2.6 MB / 497.7 MB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.4336, allocations: 0.9962 MB / 498.7 MB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006558/0.4402, allocations: 3.893 MB / 0.4908 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.4402, allocations: 47.12 kB / 0.4908 GB, free: 11.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 4.709e-06/0.4402, allocations: 0 / 0.4908 GB, free: 11.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02677/0.467, allocations: 10.41 MB / 0.501 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001716/0.4687, allocations: 1.679 MB / 0.5026 GB, free: 15.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/0.473, allocations: 2.734 MB / 0.5053 GB, free: 12.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003938/0.4734, allocations: 41.7 kB / 0.5053 GB, free: 12.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001949/0.4754, allocations: 2.182 MB / 0.5075 GB, free: 10.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007138/0.4761, allocations: 0.5195 MB / 0.508 GB, free: 9.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/0.4774, allocations: 0.929 MB / 0.5089 GB, free: 8.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4775, allocations: 305.1 kB / 0.5092 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/0.48, allocations: 1.648 MB / 0.5108 GB, free: 6.641 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0047/0.4847, allocations: 4.456 MB / 0.5151 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009354/0.4941, allocations: 6.544 MB / 0.5215 GB, free: 8.844 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/0.4942, allocations: 28 kB / 0.5216 GB, free: 8.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0224/0.5166, allocations: 7.998 MB / 0.5294 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.6e-05/0.5167, allocations: 48 kB / 0.5294 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01152/0.5282, allocations: 3.476 MB / 0.5328 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0116/0.5398, allocations: 2.58 MB / 0.5353 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/0.5431, allocations: 1.014 MB / 0.5363 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2397/0.7827, allocations: 9.691 MB / 0.5458 GB, free: 116.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/0.7868, allocations: 333.8 kB / 0.5461 GB, free: 116.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006164/0.7874, allocations: 284.7 kB / 0.5464 GB, free: 116.9 MB / 462.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.002168/0.7896, allocations: 1.422 MB / 0.5478 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004196/0.79, allocations: 248.6 kB / 0.548 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006028/0.7961, allocations: 2.821 MB / 0.5508 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004976/0.801, allocations: 2.498 MB / 0.5532 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.8011, allocations: 3.969 kB / 0.5532 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.8011, allocations: 6.609 kB / 0.5532 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.812, allocations: 6.854 MB / 0.5599 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.812, allocations: 0 / 0.5599 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007994/0.8128, allocations: 176.1 kB / 0.5601 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004299/0.8171, allocations: 1.437 MB / 0.5615 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.8173, allocations: 31.16 kB / 0.5615 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008127/0.8254, allocations: 7.922 MB / 0.5692 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000705/0.8261, allocations: 1.543 MB / 0.5707 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007147/0.8333, allocations: 4.852 MB / 0.5755 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006007/0.8339, allocations: 302.5 kB / 0.5758 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.8342, allocations: 31.98 kB / 0.5758 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.8352, allocations: 112.1 kB / 0.5759 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.8355, allocations: 82 kB / 0.576 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/0.8356, allocations: 43.97 kB / 0.576 GB, free: 101.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001907/0.8375, allocations: 1.693 MB / 0.5777 GB, free: 99.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8375, allocations: 0 / 0.5777 GB, free: 99.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003359/0.8408, allocations: 0.7951 MB / 0.5785 GB, free: 98.7 MB / 462.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.0003394/0.8412, allocations: 166.6 kB / 0.5786 GB, free: 98.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005969/0.8472, allocations: 4.262 MB / 0.5828 GB, free: 94.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8472, allocations: 0 / 0.5828 GB, free: 94.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002896/0.8501, allocations: 1.661 MB / 0.5844 GB, free: 92.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.852, allocations: 258.7 kB / 0.5846 GB, free: 92.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008196/0.8602, allocations: 6.693 MB / 0.5912 GB, free: 85.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.8617, allocations: 2.293 MB / 0.5934 GB, free: 83.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002468/0.8642, allocations: 1.404 MB / 0.5948 GB, free: 81.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/0.8646, allocations: 167.4 kB / 0.5949 GB, free: 81.75 MB / 462.1 MB Notification: Performance of SimCode: time 1.372e-06/0.8646, allocations: 0 / 0.5949 GB, free: 81.75 MB / 462.1 MB Notification: Performance of Templates: time 0.045/0.9096, allocations: 30.12 MB / 0.6244 GB, free: 51.75 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.143931461498141]