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.001848/0.001848, allocations: 92.62 kB / 20.96 MB, free: 3.469 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.002104/0.002104, allocations: 145.5 kB / 24.25 MB, free: 184 kB / 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 1.488/1.488, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 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.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.523e-06/1.523e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.039e-05, allocations: 5.969 kB / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01504/0.01507, allocations: 10.51 MB / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.02573, allocations: 4.013 MB / 281.9 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/0.02793, allocations: 83.56 kB / 281.9 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00662/0.03455, allocations: 2.865 MB / 284.8 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005963/0.04052, allocations: 2.099 MB / 286.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.04281, allocations: 0.8927 MB / 287.8 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1271/0.1699, allocations: 5.235 MB / 293 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00516/0.1751, allocations: 3.542 MB / 296.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005457/0.1805, allocations: 2.614 MB / 299.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/0.1846, allocations: 2.617 MB / 301.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009081/0.1855, allocations: 360 kB / 302.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.1877, allocations: 1.241 MB / 303.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.1893, allocations: 2.274 MB / 305.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.1909, allocations: 1.428 MB / 307.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006406/0.1973, allocations: 7.626 MB / 314.7 MB, free: 7.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.1973, allocations: 6.625 kB / 314.7 MB, free: 7.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1973, allocations: 2.719 kB / 314.7 MB, free: 7.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000203/0.1975, allocations: 0 / 314.7 MB, free: 7.914 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.008892/0.2064, allocations: 5.395 MB / 320.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2065, allocations: 16.91 kB / 320.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008582/0.215, allocations: 2.837 MB / 323 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005744/0.2208, allocations: 2.433 MB / 325.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.2211, allocations: 266.8 kB / 325.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/0.2223, allocations: 439.4 kB / 326.1 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02626/0.2486, allocations: 12.31 MB / 338.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.2487, allocations: 48.52 kB / 338.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000537/0.2492, allocations: 177.2 kB / 338.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003858/0.2531, allocations: 2.172 MB / 340.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02537/0.2785, allocations: 10.21 MB / 351 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06228/0.3408, allocations: 41.71 MB / 392.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.3537, allocations: 3.943 MB / 396.7 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/0.3568, allocations: 1.626 MB / 398.3 MB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/0.3717, allocations: 6.629 MB / 404.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/0.3717, allocations: 55.44 kB / 405 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=183): time 4.548e-06/0.3717, allocations: 0 / 405 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=205): time 0.04833/0.4201, allocations: 16.49 MB / 421.5 MB, free: 12.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001714/0.4218, allocations: 1.568 MB / 423 MB, free: 10.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007724/0.4295, allocations: 4.14 MB / 427.2 MB, free: 6.684 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004037/0.4299, allocations: 55.97 kB / 427.2 MB, free: 6.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003153/0.4331, allocations: 3.537 MB / 430.8 MB, free: 3.105 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001214/0.4343, allocations: 0.8349 MB / 431.6 MB, free: 2.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002203/0.4365, allocations: 1.345 MB / 433 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4366, allocations: 309 kB / 433.3 MB, free: 0.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1266/0.5633, allocations: 2.303 MB / 435.6 MB, free: 123.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005923/0.5692, allocations: 6.441 MB / 442 MB, free: 118.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.5798, allocations: 9.364 MB / 451.4 MB, free: 110.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002357/0.5801, allocations: 42.62 kB / 451.4 MB, free: 110.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02317/0.6033, allocations: 10.49 MB / 461.9 MB, free: 106.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.6034, allocations: 66.91 kB / 462 MB, free: 106.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01019/0.6136, allocations: 3.831 MB / 465.8 MB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009729/0.6233, allocations: 2.164 MB / 468 MB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005327/0.6286, allocations: 1.602 MB / 469.6 MB, free: 102.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00755/0.6362, allocations: 6.317 MB / 475.9 MB, free: 96.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006375/0.6425, allocations: 0.5378 MB / 476.4 MB, free: 95.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001536/0.6441, allocations: 419.2 kB / 476.8 MB, free: 95.22 MB / 378.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.004415/0.6485, allocations: 2.212 MB / 479 MB, free: 93.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008669/0.6494, allocations: 410.7 kB / 479.4 MB, free: 92.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00566/0.655, allocations: 3.252 MB / 482.7 MB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004435/0.6595, allocations: 2.741 MB / 485.4 MB, free: 86.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.6595, allocations: 0 / 485.4 MB, free: 86.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.6595, allocations: 15.95 kB / 485.4 MB, free: 86.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.6747, allocations: 9.098 MB / 494.5 MB, free: 77.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.561e-05/0.6747, allocations: 17.69 kB / 494.6 MB, free: 77.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/0.6762, allocations: 363.5 kB / 494.9 MB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/0.6789, allocations: 0.9864 MB / 495.9 MB, free: 76.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/0.6791, allocations: 63.97 kB / 496 MB, free: 76.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00398/0.6831, allocations: 4.649 MB / 0.4889 GB, free: 71.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006835/0.6838, allocations: 1.438 MB / 0.4903 GB, free: 69.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008329/0.6921, allocations: 5.924 MB / 0.4961 GB, free: 63.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.6933, allocations: 380.9 kB / 0.4964 GB, free: 63.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008679/0.6942, allocations: 55.98 kB / 0.4965 GB, free: 63.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002491/0.6966, allocations: 203.7 kB / 0.4967 GB, free: 63.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/0.697, allocations: 180.3 kB / 0.4968 GB, free: 63.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/0.6972, allocations: 79.89 kB / 0.4969 GB, free: 63.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0042/0.7014, allocations: 2.391 MB / 0.4993 GB, free: 60.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7014, allocations: 0 / 0.4993 GB, free: 60.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007126/0.7085, allocations: 1.286 MB / 0.5005 GB, free: 59.51 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.0009919/0.7095, allocations: 247.2 kB / 0.5008 GB, free: 59.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01051/0.72, allocations: 5.676 MB / 0.5063 GB, free: 53.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-05/0.7201, allocations: 0 / 0.5063 GB, free: 53.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003607/0.7237, allocations: 1.959 MB / 0.5082 GB, free: 51.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004117/0.7278, allocations: 472.6 kB / 0.5087 GB, free: 51.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/0.7452, allocations: 10.73 MB / 0.5191 GB, free: 40.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004433/0.7496, allocations: 2.924 MB / 0.522 GB, free: 37.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004057/0.7537, allocations: 1.981 MB / 0.5239 GB, free: 35.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007326/0.7544, allocations: 272.4 kB / 0.5242 GB, free: 35.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7544, allocations: 0 / 0.5242 GB, free: 35.01 MB / 378.7 MB Notification: Performance of Templates: time 0.1875/0.9419, allocations: 36.34 MB / 0.5597 GB, free: 107.4 MB / 378.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: 6.822063026018441]