Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.002585/0.002585, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002922/0.002922, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.604/1.604, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.126e-05, allocations: 6.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01098/0.01101, allocations: 7.195 MB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00722/0.01823, allocations: 3.172 MB / 282.7 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.01923, allocations: 43.81 kB / 282.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.02174, allocations: 1.094 MB / 283.8 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003588/0.02533, allocations: 1.42 MB / 285.2 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.02648, allocations: 494.8 kB / 285.7 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004335/0.03082, allocations: 3.03 MB / 288.8 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1281/0.1589, allocations: 1.626 MB / 290.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.1612, allocations: 1.308 MB / 291.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.1633, allocations: 1.418 MB / 293.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003763/0.1637, allocations: 174.2 kB / 293.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.1654, allocations: 0.9676 MB / 294.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.1665, allocations: 1.176 MB / 295.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009037/0.1674, allocations: 0.7147 MB / 296.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.1718, allocations: 4.376 MB / 300.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1718, allocations: 0 / 300.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1719, allocations: 0 / 300.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.117e-05/0.1719, allocations: 1.375 kB / 300.5 MB, free: 14.49 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.006509/0.1784, allocations: 3.627 MB / 304.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1785, allocations: 12.88 kB / 304.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006817/0.1853, allocations: 2.179 MB / 306.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.1881, allocations: 1.229 MB / 307.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-05/0.1882, allocations: 132.6 kB / 307.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005881/0.1888, allocations: 254.1 kB / 307.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007476/0.1962, allocations: 4.364 MB / 312.3 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-05/0.1963, allocations: 27.36 kB / 312.3 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000247/0.1965, allocations: 90.31 kB / 312.4 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001778/0.1983, allocations: 1.36 MB / 313.8 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007122/0.2054, allocations: 2.766 MB / 316.5 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04005/0.2455, allocations: 30.94 MB / 347.5 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006517/0.252, allocations: 1.502 MB / 349 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008294/0.2528, allocations: 392.4 kB / 349.4 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006057/0.2589, allocations: 2.619 MB / 352 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.259, allocations: 49.89 kB / 352 MB, free: 15.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=112): time 5.801e-06/0.259, allocations: 3.984 kB / 352 MB, free: 15.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.02747/0.2864, allocations: 7.53 MB / 359.6 MB, free: 7.957 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001883/0.2883, allocations: 2.046 MB / 361.6 MB, free: 5.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/0.2936, allocations: 3.116 MB / 364.7 MB, free: 2.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003554/0.294, allocations: 41.7 kB / 364.8 MB, free: 2.551 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002315/0.2963, allocations: 2.432 MB / 367.2 MB, free: 132 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009821/0.2973, allocations: 0.5822 MB / 367.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/0.2991, allocations: 1.143 MB / 368.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000483/0.2996, allocations: 0.5473 MB / 369.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.3012, allocations: 0.6094 MB / 370.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005667/0.3068, allocations: 4.901 MB / 375 MB, free: 6.449 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008202/0.315, allocations: 6.084 MB / 381.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/0.3151, allocations: 28 kB / 381.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01936/0.3345, allocations: 5.913 MB / 387 MB, free: 8.527 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-05/0.3346, allocations: 48 kB / 387.1 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01161/0.3462, allocations: 2.46 MB / 389.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01318/0.3594, allocations: 2.251 MB / 391.8 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/0.3632, allocations: 1.018 MB / 392.8 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.3757, allocations: 6.081 MB / 398.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004004/0.3797, allocations: 383.6 kB / 399.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007066/0.3804, allocations: 281 kB / 399.5 MB, free: 11.75 MB / 362.7 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.001511/0.3819, allocations: 0.5929 MB / 400.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00055/0.3825, allocations: 250.5 kB / 400.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006719/0.3832, allocations: 263.7 kB / 400.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005497/0.3887, allocations: 1.463 MB / 402.1 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.3887, allocations: 4 kB / 402.1 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.3887, allocations: 3.984 kB / 402.1 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.4031, allocations: 5.428 MB / 407.5 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.4031, allocations: 0 / 407.5 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008979/0.404, allocations: 175.7 kB / 407.7 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004962/0.4089, allocations: 1.006 MB / 408.7 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.4091, allocations: 33.7 kB / 408.7 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009164/0.4182, allocations: 5.51 MB / 414.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001634/0.4199, allocations: 1.905 MB / 416.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007718/0.4276, allocations: 2.849 MB / 419 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006961/0.4283, allocations: 218.3 kB / 419.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/0.4286, allocations: 23.98 kB / 419.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.4299, allocations: 143.8 kB / 419.4 MB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/0.4301, allocations: 84.48 kB / 419.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.4303, allocations: 39.11 kB / 419.5 MB, free: 7.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00239/0.4327, allocations: 1.233 MB / 420.7 MB, free: 5.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4327, allocations: 3.938 kB / 420.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004145/0.4368, allocations: 0.8553 MB / 421.6 MB, free: 5.137 MB / 378.7 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.0004717/0.4373, allocations: 172.7 kB / 421.7 MB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007845/0.4451, allocations: 3.125 MB / 424.9 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4451, allocations: 4 kB / 424.9 MB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003211/0.4483, allocations: 1.237 MB / 426.1 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.4503, allocations: 250.1 kB / 426.4 MB, free: 300 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.4609, allocations: 5.28 MB / 431.6 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/0.4632, allocations: 1.556 MB / 433.2 MB, free: 9.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003157/0.4664, allocations: 1.199 MB / 434.4 MB, free: 8.133 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.4669, allocations: 164.4 kB / 434.6 MB, free: 7.973 MB / 394.7 MB Notification: Performance of SimCode: time 1.502e-06/0.4669, allocations: 0 / 434.6 MB, free: 7.973 MB / 394.7 MB Notification: Performance of Templates: time 0.1648/0.6317, allocations: 28.69 MB / 463.2 MB, free: 125.1 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.183470343006775]