Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.0009211/0.0009211, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003605/0.003605, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8207/0.8207, allocations: 173.4 MB / 201.2 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.769e-05, allocations: 5.656 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.007522/0.00755, allocations: 10.5 MB / 330.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005611/0.01316, allocations: 4.016 MB / 334.2 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000746/0.01391, allocations: 83.56 kB / 334.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.01643, allocations: 2.83 MB / 337.1 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.01905, allocations: 2.098 MB / 339.2 MB, free: 2.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.02014, allocations: 0.8771 MB / 340.1 MB, free: 1.367 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003206/0.02335, allocations: 5.25 MB / 345.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/0.02559, allocations: 3.428 MB / 348.8 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.02755, allocations: 2.615 MB / 351.4 MB, free: 6 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.02957, allocations: 2.619 MB / 354 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003171/0.02989, allocations: 356 kB / 354.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.03128, allocations: 1.24 MB / 355.6 MB, free: 1.785 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.03246, allocations: 2.267 MB / 357.9 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009177/0.03338, allocations: 1.425 MB / 359.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004988/0.03836, allocations: 7.635 MB / 366.9 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.03837, allocations: 0 / 366.9 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.03837, allocations: 0 / 366.9 MB, free: 6.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.368e-05/0.03843, allocations: 0 / 366.9 MB, free: 6.422 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.00575/0.04418, allocations: 5.397 MB / 372.3 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.04423, allocations: 8.922 kB / 372.3 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004018/0.04824, allocations: 2.193 MB / 374.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002684/0.05093, allocations: 2.402 MB / 376.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.05106, allocations: 274.8 kB / 377.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005583/0.05162, allocations: 439.6 kB / 377.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/0.06343, allocations: 12.31 MB / 389.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-05/0.06351, allocations: 51.55 kB / 390 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002958/0.0638, allocations: 171.8 kB / 390.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001841/0.06564, allocations: 2.166 MB / 392.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.07787, allocations: 10.22 MB / 402.5 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0299/0.1078, allocations: 41.64 MB / 444.2 MB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006324/0.1141, allocations: 3.956 MB / 448.1 MB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.1155, allocations: 1.63 MB / 449.8 MB, free: 1.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1656/0.2811, allocations: 6.629 MB / 456.4 MB, free: 118.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2811, allocations: 47.28 kB / 456.4 MB, free: 118.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 4.86e-06/0.2811, allocations: 0 / 456.4 MB, free: 118.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.02023/0.3013, allocations: 16.42 MB / 472.9 MB, free: 109.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006381/0.302, allocations: 1.565 MB / 474.4 MB, free: 107.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/0.3049, allocations: 4.144 MB / 478.6 MB, free: 103.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.562e-05/0.305, allocations: 61.86 kB / 478.6 MB, free: 103.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008249/0.3058, allocations: 3.543 MB / 482.2 MB, free: 99.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.3061, allocations: 0.8311 MB / 483 MB, free: 99.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000893/0.307, allocations: 1.346 MB / 484.4 MB, free: 97.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.329e-05/0.3071, allocations: 301.1 kB / 484.7 MB, free: 97.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/0.309, allocations: 2.289 MB / 486.9 MB, free: 95.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/0.3116, allocations: 6.421 MB / 493.4 MB, free: 86.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005497/0.3171, allocations: 9.344 MB / 0.4909 GB, free: 75.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.76e-05/0.3171, allocations: 44 kB / 0.491 GB, free: 75.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01052/0.3277, allocations: 10.09 MB / 0.5008 GB, free: 65.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.3277, allocations: 72.98 kB / 0.5009 GB, free: 65.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005032/0.3327, allocations: 3.827 MB / 0.5046 GB, free: 61.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004429/0.3372, allocations: 2.168 MB / 0.5067 GB, free: 59.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/0.3394, allocations: 1.591 MB / 0.5083 GB, free: 57.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004346/0.3438, allocations: 6.297 MB / 0.5144 GB, free: 50.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/0.3467, allocations: 499.4 kB / 0.5149 GB, free: 50.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/0.347, allocations: 424 kB / 0.5153 GB, free: 50.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002192/0.3492, allocations: 2.204 MB / 0.5175 GB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.3495, allocations: 357.6 kB / 0.5178 GB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/0.3526, allocations: 3.254 MB / 0.521 GB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002557/0.3551, allocations: 2.73 MB / 0.5237 GB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3551, allocations: 7.938 kB / 0.5237 GB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.3552, allocations: 13.64 kB / 0.5237 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008745/0.3639, allocations: 9.053 MB / 0.5325 GB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.3639, allocations: 15.94 kB / 0.5325 GB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000717/0.3646, allocations: 367.4 kB / 0.5329 GB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.366, allocations: 0.9906 MB / 0.5339 GB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.089e-05/0.3661, allocations: 63.97 kB / 0.5339 GB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/0.3685, allocations: 4.636 MB / 0.5384 GB, free: 25.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003801/0.3689, allocations: 1.43 MB / 0.5398 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004366/0.3732, allocations: 5.857 MB / 0.5456 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/0.3737, allocations: 373.4 kB / 0.5459 GB, free: 17.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.3739, allocations: 59.97 kB / 0.546 GB, free: 17.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.3751, allocations: 195.7 kB / 0.5462 GB, free: 17.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.3753, allocations: 180.3 kB / 0.5463 GB, free: 17.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/0.3753, allocations: 75.03 kB / 0.5464 GB, free: 17.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001879/0.3772, allocations: 2.398 MB / 0.5487 GB, free: 15.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3772, allocations: 0 / 0.5487 GB, free: 15.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003575/0.3808, allocations: 1.289 MB / 0.55 GB, free: 13.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003513/0.3811, allocations: 243 kB / 0.5502 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005032/0.3862, allocations: 5.661 MB / 0.5558 GB, free: 7.832 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.3862, allocations: 4 kB / 0.5558 GB, free: 7.828 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001753/0.3879, allocations: 1.952 MB / 0.5577 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.3894, allocations: 441.2 kB / 0.5581 GB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.3997, allocations: 11.05 MB / 0.5689 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/0.402, allocations: 2.923 MB / 0.5717 GB, free: 7.184 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006308/0.4026, allocations: 320.4 kB / 0.572 GB, free: 6.871 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4026, allocations: 0 / 0.572 GB, free: 6.871 MB / 426.7 MB Notification: Performance of Templates: time 0.2592/0.6618, allocations: 143.5 MB / 0.7121 GB, free: 53.44 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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: 8.635884897783399]