Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001468/0.001468, allocations: 119.4 kB / 18.41 MB, free: 4.516 MB / 14.72 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.001718/0.001718, allocations: 188.3 kB / 21.34 MB, free: 1.59 MB / 14.72 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.63/1.63, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 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.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002055, allocations: 47.92 kB / 358.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1022, allocations: 49.44 MB / 408.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009597/0.1119, allocations: 7.422 MB / 415.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0065/0.1184, allocations: 3.242 MB / 418.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.1194, allocations: 35.94 kB / 418.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.1218, allocations: 1.024 MB / 419.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003544/0.1253, allocations: 1.374 MB / 421.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1265, allocations: 451.1 kB / 421.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003952/0.1304, allocations: 2.636 MB / 424.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.1326, allocations: 1.531 MB / 425.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.1342, allocations: 0.8407 MB / 426.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.1361, allocations: 1.226 MB / 427.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004538/0.1366, allocations: 172 kB / 428 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.1386, allocations: 1.034 MB / 429.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.1398, allocations: 1.11 MB / 430.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1979/0.3376, allocations: 1.299 MB / 431.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006287/0.3439, allocations: 4.38 MB / 435.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.344, allocations: 0.75 kB / 435.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.344, allocations: 0 / 435.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001572/0.3441, allocations: 0 / 435.9 MB, free: 7.016 MB / 350.1 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.007688/0.3518, allocations: 3.124 MB / 439 MB, free: 5.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3519, allocations: 8.719 kB / 439 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007461/0.3594, allocations: 1.76 MB / 440.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/0.363, allocations: 1.405 MB / 442.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.3632, allocations: 137 kB / 442.3 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009268/0.3641, allocations: 258.1 kB / 442.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.3755, allocations: 6.653 MB / 449.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.342e-05/0.3756, allocations: 31.56 kB / 449.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002959/0.376, allocations: 91.73 kB / 449.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002176/0.3781, allocations: 1.363 MB / 450.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.3897, allocations: 6.029 MB / 456.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0344/0.4242, allocations: 25.59 MB / 482.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007562/0.4318, allocations: 2.674 MB / 485 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.4334, allocations: 1.034 MB / 486 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006404/0.4398, allocations: 3.904 MB / 489.9 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.4399, allocations: 42.59 kB / 490 MB, free: 5.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 3.837e-06/0.4399, allocations: 0 / 490 MB, free: 5.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.0321/0.472, allocations: 10.42 MB / 0.4887 GB, free: 10.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001609/0.4737, allocations: 1.68 MB / 0.4903 GB, free: 9.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005015/0.4787, allocations: 2.73 MB / 0.493 GB, free: 6.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003218/0.4791, allocations: 44.05 kB / 0.493 GB, free: 6.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001914/0.481, allocations: 2.169 MB / 0.4951 GB, free: 4.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008378/0.4818, allocations: 0.5326 MB / 0.4956 GB, free: 3.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001964/0.4838, allocations: 0.9228 MB / 0.4965 GB, free: 2.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.484, allocations: 317 kB / 0.4968 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/0.487, allocations: 1.652 MB / 0.4985 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005579/0.4925, allocations: 4.451 MB / 0.5028 GB, free: 10.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00886/0.5014, allocations: 6.538 MB / 0.5092 GB, free: 3.383 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.123e-05/0.5015, allocations: 32 kB / 0.5092 GB, free: 3.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02225/0.5238, allocations: 8.015 MB / 0.517 GB, free: 11.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.524, allocations: 48 kB / 0.5171 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01259/0.5366, allocations: 3.484 MB / 0.5205 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01265/0.5493, allocations: 2.591 MB / 0.523 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/0.5527, allocations: 1.01 MB / 0.524 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/0.5688, allocations: 9.697 MB / 0.5335 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003734/0.5726, allocations: 331.7 kB / 0.5338 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008187/0.5735, allocations: 283.9 kB / 0.5341 GB, free: 9.668 MB / 446.1 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.003319/0.5768, allocations: 1.432 MB / 0.5355 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006961/0.5775, allocations: 238.4 kB / 0.5357 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007584/0.5851, allocations: 2.829 MB / 0.5385 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006534/0.5917, allocations: 2.521 MB / 0.5409 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-05/0.5917, allocations: 11.62 kB / 0.5409 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/0.5917, allocations: 3.984 kB / 0.5409 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.6077, allocations: 6.864 MB / 0.5476 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/0.6077, allocations: 8.094 kB / 0.5476 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009021/0.6087, allocations: 175.7 kB / 0.5478 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005192/0.6139, allocations: 1.435 MB / 0.5492 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/0.6141, allocations: 33.53 kB / 0.5492 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.6259, allocations: 7.928 MB / 0.557 GB, free: 1.828 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001284/0.6272, allocations: 1.543 MB / 0.5585 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.6374, allocations: 4.864 MB / 0.5632 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007335/0.6381, allocations: 307.3 kB / 0.5635 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005058/0.6386, allocations: 27.98 kB / 0.5636 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.6401, allocations: 107.8 kB / 0.5637 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.6404, allocations: 88.31 kB / 0.5637 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.6405, allocations: 41.98 kB / 0.5638 GB, free: 10.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003232/0.6438, allocations: 1.689 MB / 0.5654 GB, free: 8.961 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6438, allocations: 0 / 0.5654 GB, free: 8.961 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004216/0.648, allocations: 0.7839 MB / 0.5662 GB, free: 8.18 MB / 478.1 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.0004958/0.6485, allocations: 173.2 kB / 0.5664 GB, free: 8.004 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00884/0.6574, allocations: 4.46 MB / 0.5707 GB, free: 3.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6574, allocations: 4 kB / 0.5707 GB, free: 3.516 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003667/0.6611, allocations: 1.721 MB / 0.5724 GB, free: 1.742 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.6634, allocations: 277.6 kB / 0.5727 GB, free: 1.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.6761, allocations: 6.917 MB / 0.5794 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003037/0.6792, allocations: 2.293 MB / 0.5817 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007364/0.68, allocations: 199.4 kB / 0.5819 GB, free: 7.996 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.68, allocations: 0 / 0.5819 GB, free: 7.996 MB / 494.1 MB Notification: Performance of Templates: time 0.3054/0.9854, allocations: 76.15 MB / 0.6562 GB, free: 129.6 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.2587652009679]