Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 76.81 kB / 22.28 MB, free: 2.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 163.2 kB / 25.69 MB, free: 8.348 MB / 18.57 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.004/1.004, allocations: 158.6 MB / 187.6 MB, free: 2.414 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 251.6 MB, free: 7.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.468e-05/3.668e-05, allocations: 2.312 kB / 251.6 MB, free: 7.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.009963/0.01, allocations: 11.39 MB / 263 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009139/0.01914, allocations: 4.253 MB / 267.2 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.02119, allocations: 83.56 kB / 267.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004063/0.02525, allocations: 2.908 MB / 270.2 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00536/0.03061, allocations: 2.087 MB / 272.3 MB, free: 2.367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.03238, allocations: 0.8965 MB / 273.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006031/0.03841, allocations: 5.274 MB / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005485/0.0439, allocations: 3.426 MB / 281.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005116/0.04901, allocations: 2.615 MB / 284.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004503/0.05352, allocations: 2.517 MB / 287 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001628/0.05514, allocations: 356 kB / 287.4 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.05809, allocations: 1.268 MB / 288.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002488/0.06057, allocations: 2.283 MB / 290.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003094/0.06367, allocations: 1.429 MB / 292.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0064/0.07007, allocations: 5.071 MB / 297.4 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.07008, allocations: 7.984 kB / 297.4 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.07008, allocations: 4 kB / 297.5 MB, free: 9.105 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002559/0.07034, allocations: 0 / 297.5 MB, free: 9.105 MB / 282.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.007428/0.07776, allocations: 4.91 MB / 302.4 MB, free: 4.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.0778, allocations: 8.031 kB / 302.4 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/0.08124, allocations: 1.269 MB / 303.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.08434, allocations: 1.922 MB / 305.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.08452, allocations: 274.7 kB / 305.8 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007041/0.08523, allocations: 427.6 kB / 306.2 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009487/0.09471, allocations: 5.832 MB / 312.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.09482, allocations: 51.52 kB / 312.1 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000326/0.09515, allocations: 175.8 kB / 312.3 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001734/0.09688, allocations: 1.936 MB / 314.2 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007343/0.1042, allocations: 3.129 MB / 317.4 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03403/0.1383, allocations: 34.86 MB / 352.2 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.142/0.2803, allocations: 2.401 MB / 354.6 MB, free: 83.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007726/0.281, allocations: 479.9 kB / 355.1 MB, free: 83.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006114/0.2871, allocations: 4.3 MB / 359.4 MB, free: 82.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.2872, allocations: 58.17 kB / 359.5 MB, free: 82.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=183): time 3.968e-06/0.2872, allocations: 2.625 kB / 359.5 MB, free: 82.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=205): time 0.01629/0.3035, allocations: 7.31 MB / 366.8 MB, free: 81.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006539/0.3041, allocations: 1.495 MB / 368.3 MB, free: 80.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.3072, allocations: 3.338 MB / 371.6 MB, free: 79.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000286/0.3075, allocations: 52.58 kB / 371.7 MB, free: 79.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.3087, allocations: 3.346 MB / 375 MB, free: 77.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007474/0.3095, allocations: 0.8365 MB / 375.8 MB, free: 76.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/0.3105, allocations: 1.282 MB / 377.1 MB, free: 76.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.184e-05/0.3106, allocations: 305.1 kB / 377.4 MB, free: 75.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.3119, allocations: 0.8932 MB / 378.3 MB, free: 75.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/0.3142, allocations: 4.879 MB / 383.2 MB, free: 68.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004854/0.3191, allocations: 6.486 MB / 389.7 MB, free: 61.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/0.3192, allocations: 40 kB / 389.7 MB, free: 61.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=895) (initialization): time 0.00946/0.3286, allocations: 5.077 MB / 394.8 MB, free: 56.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.3287, allocations: 68.19 kB / 394.9 MB, free: 56.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003437/0.3321, allocations: 1.185 MB / 396 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003271/0.3354, allocations: 0.5861 MB / 396.6 MB, free: 54.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/0.3388, allocations: 1.61 MB / 398.2 MB, free: 52.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.3417, allocations: 3.123 MB / 401.4 MB, free: 49.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/0.3458, allocations: 291.8 kB / 401.6 MB, free: 49.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007457/0.3466, allocations: 366.3 kB / 402 MB, free: 49 MB / 330.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.001615/0.3482, allocations: 0.6758 MB / 402.7 MB, free: 48.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005499/0.3487, allocations: 243.7 kB / 402.9 MB, free: 48.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.3507, allocations: 1.366 MB / 404.3 MB, free: 46.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001314/0.352, allocations: 0.8452 MB / 405.1 MB, free: 45.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.352, allocations: 7.984 kB / 405.1 MB, free: 45.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.352, allocations: 7.969 kB / 405.1 MB, free: 45.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008016/0.36, allocations: 5.987 MB / 411.1 MB, free: 40.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.36, allocations: 12 kB / 411.1 MB, free: 40.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/0.3609, allocations: 348.3 kB / 411.5 MB, free: 39.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.3621, allocations: 0.5333 MB / 412 MB, free: 39.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.3623, allocations: 71.09 kB / 412.1 MB, free: 39.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.3641, allocations: 2.831 MB / 414.9 MB, free: 36.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004045/0.3645, allocations: 1.355 MB / 416.3 MB, free: 34.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.3674, allocations: 2.634 MB / 418.9 MB, free: 31.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009215/0.3683, allocations: 495.9 kB / 419.4 MB, free: 31.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.3686, allocations: 56.12 kB / 419.4 MB, free: 31.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000804/0.3694, allocations: 51.12 kB / 419.5 MB, free: 31.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/0.3697, allocations: 180.3 kB / 419.7 MB, free: 31.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.532e-05/0.3697, allocations: 61.41 kB / 419.7 MB, free: 31.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001207/0.371, allocations: 1.221 MB / 420.9 MB, free: 30.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.371, allocations: 0 / 420.9 MB, free: 30.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00451/0.3755, allocations: 1.29 MB / 422.2 MB, free: 28.79 MB / 330.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.000565/0.376, allocations: 224.5 kB / 422.5 MB, free: 28.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004396/0.3804, allocations: 3.243 MB / 425.7 MB, free: 25.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000204/0.3806, allocations: 108.2 kB / 425.8 MB, free: 25.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.382, allocations: 1.006 MB / 426.8 MB, free: 24.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/0.3845, allocations: 0.6895 MB / 427.5 MB, free: 23.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009955/0.3945, allocations: 8.57 MB / 436.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.3955, allocations: 1.325 MB / 437.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001423/0.3969, allocations: 0.5418 MB / 437.9 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000883/0.3978, allocations: 0.6143 MB / 438.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of SimCode: time 2.745e-06/0.3978, allocations: 0 / 438.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of Templates: time 0.05738/0.4552, allocations: 40.19 MB / 478.7 MB, free: 4.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.238653553184122]