Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009646/0.0009646, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008893/0.0008893, allocations: 159.2 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9359/0.9359, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.816e-05, allocations: 2.312 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.009235/0.009253, allocations: 11.28 MB / 285.4 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006582/0.01584, allocations: 4.094 MB / 289.5 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.01704, allocations: 83.56 kB / 289.6 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003157/0.0202, allocations: 2.912 MB / 292.5 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.0233, allocations: 2.076 MB / 294.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.0246, allocations: 0.8926 MB / 295.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005177/0.02978, allocations: 5.382 MB / 300.9 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.03259, allocations: 3.535 MB / 304.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.03514, allocations: 2.658 MB / 307 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.03722, allocations: 2.619 MB / 309.7 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003535/0.03758, allocations: 356 kB / 310 MB, free: 256 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.03895, allocations: 1.217 MB / 311.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.0404, allocations: 2.248 MB / 313.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009926/0.0414, allocations: 1.41 MB / 314.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.04483, allocations: 5.005 MB / 319.9 MB, free: 6.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.04483, allocations: 0 / 319.9 MB, free: 6.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.04483, allocations: 0 / 319.9 MB, free: 6.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.185e-05/0.04487, allocations: 0 / 319.9 MB, free: 6.34 MB / 298.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.005478/0.05035, allocations: 5.465 MB / 325.4 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.05039, allocations: 8.031 kB / 325.4 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003893/0.05428, allocations: 1.773 MB / 327.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.05652, allocations: 2.031 MB / 329.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.05665, allocations: 270.8 kB / 329.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005282/0.05718, allocations: 423.6 kB / 329.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007271/0.06445, allocations: 6.601 MB / 336.4 MB, free: 4.543 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.151e-05/0.06453, allocations: 59.5 kB / 336.5 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002922/0.06482, allocations: 175.8 kB / 336.7 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001597/0.06642, allocations: 1.92 MB / 338.6 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006127/0.07255, allocations: 3.228 MB / 341.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1579/0.2304, allocations: 48.82 MB / 390.6 MB, free: 37.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005116/0.2356, allocations: 2.591 MB / 393.2 MB, free: 37.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007304/0.2363, allocations: 0.5758 MB / 393.8 MB, free: 37.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005054/0.2413, allocations: 4.734 MB / 398.5 MB, free: 35.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.2414, allocations: 57.36 kB / 398.6 MB, free: 35.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=183): time 3.547e-06/0.2414, allocations: 0 / 398.6 MB, free: 35.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=205): time 0.01695/0.2583, allocations: 8.068 MB / 406.7 MB, free: 31.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006487/0.259, allocations: 2.026 MB / 408.7 MB, free: 29.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/0.262, allocations: 3.665 MB / 412.4 MB, free: 26.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.47e-05/0.2621, allocations: 55.34 kB / 412.4 MB, free: 26.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.2635, allocations: 3.743 MB / 416.2 MB, free: 22.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004748/0.264, allocations: 0.8609 MB / 417 MB, free: 22.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.265, allocations: 1.483 MB / 418.5 MB, free: 20.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.391e-05/0.265, allocations: 480.8 kB / 419 MB, free: 20.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009891/0.266, allocations: 0.7082 MB / 419.7 MB, free: 19.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/0.2683, allocations: 6.865 MB / 426.5 MB, free: 9.836 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00441/0.2727, allocations: 8.367 MB / 434.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.752e-05/0.2728, allocations: 40 kB / 434.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=895) (initialization): time 0.009089/0.2819, allocations: 5.903 MB / 440.9 MB, free: 9.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/0.282, allocations: 71.59 kB / 440.9 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00386/0.2858, allocations: 1.357 MB / 442.3 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00351/0.2893, allocations: 0.5996 MB / 442.9 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/0.2919, allocations: 1.54 MB / 444.4 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.2958, allocations: 4.225 MB / 448.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/0.2985, allocations: 299.8 kB / 448.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003173/0.2989, allocations: 363.7 kB / 449.3 MB, free: 372 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * 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 (857): * Single equations (assignments): 848 * 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.001161/0.3, allocations: 0.7303 MB / 450 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/0.3005, allocations: 409.6 kB / 450.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.3027, allocations: 1.552 MB / 452 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001746/0.3045, allocations: 1.039 MB / 453 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.3045, allocations: 4 kB / 453 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.3045, allocations: 11.91 kB / 453 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.3153, allocations: 7.339 MB / 460.4 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.3153, allocations: 16 kB / 460.4 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.3163, allocations: 327.5 kB / 460.7 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.3178, allocations: 381 kB / 461.1 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.3179, allocations: 67.91 kB / 461.1 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.3209, allocations: 3.951 MB / 465.1 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008126/0.3217, allocations: 1.89 MB / 467 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.3322, allocations: 3.15 MB / 470.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/0.3327, allocations: 349.4 kB / 470.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/0.3331, allocations: 55.98 kB / 470.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.3342, allocations: 55.98 kB / 470.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.3345, allocations: 180.3 kB / 470.8 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.3346, allocations: 67.98 kB / 470.8 MB, free: 9.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00466/0.3393, allocations: 1.453 MB / 472.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3393, allocations: 0 / 472.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00757/0.3468, allocations: 1.269 MB / 473.5 MB, free: 7.094 MB / 378.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.003449/0.3503, allocations: 226.6 kB / 473.8 MB, free: 6.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01189/0.3622, allocations: 3.58 MB / 477.3 MB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.3622, allocations: 4 kB / 477.4 MB, free: 3.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.3641, allocations: 1.205 MB / 478.6 MB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005199/0.3693, allocations: 477.8 kB / 479 MB, free: 1.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.3855, allocations: 8.962 MB / 488 MB, free: 8.254 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.3873, allocations: 1.332 MB / 489.3 MB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002239/0.3895, allocations: 0.5379 MB / 489.9 MB, free: 6.355 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/0.3909, allocations: 0.6543 MB / 490.5 MB, free: 5.699 MB / 394.7 MB Notification: Performance of SimCode: time 1.804e-06/0.3909, allocations: 3.719 kB / 490.5 MB, free: 5.699 MB / 394.7 MB Notification: Performance of Templates: time 0.1745/0.5654, allocations: 40.52 MB / 0.5186 GB, free: 135.1 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.323102224152535]