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.00205/0.00205, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002579/0.002579, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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.653/1.653, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 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 0.001783/0.001783, allocations: 51.91 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3191, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009514/0.3286, allocations: 6.574 MB / 438.9 MB, free: 112 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007003/0.3356, allocations: 3.071 MB / 442 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.3367, allocations: 43.81 kB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.339, allocations: 1.016 MB / 443 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003564/0.3426, allocations: 1.382 MB / 444.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.3436, allocations: 455.2 kB / 444.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003705/0.3473, allocations: 2.66 MB / 447.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.3493, allocations: 1.339 MB / 448.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.3509, allocations: 0.8447 MB / 449.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.3528, allocations: 1.332 MB / 451 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003652/0.3531, allocations: 172 kB / 451.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.355, allocations: 0.936 MB / 452.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.3563, allocations: 1.11 MB / 453.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.3576, allocations: 0.947 MB / 454.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005427/0.363, allocations: 4.333 MB / 458.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.363, allocations: 4 kB / 458.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.363, allocations: 0 / 458.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.612e-05/0.3631, allocations: 0 / 458.5 MB, free: 12.4 MB / 366.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.006323/0.3694, allocations: 3.029 MB / 461.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3695, allocations: 8.031 kB / 461.6 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006865/0.3763, allocations: 1.809 MB / 463.4 MB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/0.3801, allocations: 1.329 MB / 464.7 MB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.3803, allocations: 135.3 kB / 464.9 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009617/0.3812, allocations: 255.8 kB / 465.1 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.3965, allocations: 6.701 MB / 471.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.039e-05/0.3966, allocations: 31.7 kB / 471.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.3969, allocations: 87.91 kB / 471.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002485/0.3994, allocations: 1.367 MB / 473.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.4123, allocations: 6.029 MB / 479.3 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03869/0.451, allocations: 24.04 MB / 0.4916 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007167/0.4582, allocations: 2.155 MB / 0.4937 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.4597, allocations: 0.9926 MB / 0.4946 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006528/0.4663, allocations: 2.726 MB / 0.4973 GB, free: 8.332 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.34e-05/0.4663, allocations: 51 kB / 0.4973 GB, free: 8.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.567e-06/0.4663, allocations: 0 / 0.4973 GB, free: 8.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02888/0.4952, allocations: 10.14 MB / 0.5072 GB, free: 14.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002013/0.4972, allocations: 1.541 MB / 0.5087 GB, free: 12.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004932/0.5022, allocations: 2.605 MB / 0.5113 GB, free: 9.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003454/0.5025, allocations: 41.7 kB / 0.5113 GB, free: 9.688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002193/0.5047, allocations: 2.19 MB / 0.5135 GB, free: 7.473 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008677/0.5056, allocations: 0.5312 MB / 0.514 GB, free: 6.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/0.5071, allocations: 0.925 MB / 0.5149 GB, free: 6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002656/0.5073, allocations: 353.9 kB / 0.5152 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002767/0.5101, allocations: 1.656 MB / 0.5168 GB, free: 3.984 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006264/0.5164, allocations: 4.46 MB / 0.5212 GB, free: 14.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.5265, allocations: 6.556 MB / 0.5276 GB, free: 6.176 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/0.5266, allocations: 28 kB / 0.5276 GB, free: 6.148 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02378/0.5504, allocations: 8.054 MB / 0.5355 GB, free: 14.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-05/0.5505, allocations: 48 kB / 0.5355 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01221/0.5627, allocations: 3.554 MB / 0.539 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/0.5752, allocations: 2.678 MB / 0.5416 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/0.5795, allocations: 1.01 MB / 0.5426 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3328/0.9123, allocations: 9.359 MB / 0.5517 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004277/0.9166, allocations: 331 kB / 0.5521 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008343/0.9174, allocations: 283.3 kB / 0.5523 GB, free: 108.9 MB / 462.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.002808/0.9202, allocations: 1.426 MB / 0.5537 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006072/0.9208, allocations: 222.7 kB / 0.5539 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005546/0.9214, allocations: 305.1 kB / 0.5542 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005926/0.9273, allocations: 2.508 MB / 0.5567 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/0.9273, allocations: 8.969 kB / 0.5567 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.9273, allocations: 3.797 kB / 0.5567 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.9412, allocations: 6.192 MB / 0.5627 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.9412, allocations: 2.906 kB / 0.5627 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000869/0.942, allocations: 178.1 kB / 0.5629 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004531/0.9466, allocations: 1.433 MB / 0.5643 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/0.9468, allocations: 31.03 kB / 0.5643 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008472/0.9553, allocations: 7.609 MB / 0.5718 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008323/0.9561, allocations: 1.43 MB / 0.5732 GB, free: 99.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007921/0.964, allocations: 4.834 MB / 0.5779 GB, free: 95.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007738/0.9648, allocations: 211.6 kB / 0.5781 GB, free: 95.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.9651, allocations: 24 kB / 0.5781 GB, free: 95.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.9662, allocations: 111.8 kB / 0.5782 GB, free: 95.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003035/0.9665, allocations: 87.39 kB / 0.5783 GB, free: 95.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.9666, allocations: 31.98 kB / 0.5783 GB, free: 95.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001832/0.9685, allocations: 1.487 MB / 0.5798 GB, free: 93.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9685, allocations: 3.844 kB / 0.5798 GB, free: 93.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004336/0.9728, allocations: 0.7658 MB / 0.5805 GB, free: 93.14 MB / 462.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.0004633/0.9733, allocations: 162.8 kB / 0.5807 GB, free: 92.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007138/0.9804, allocations: 4.195 MB / 0.5848 GB, free: 88.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.9804, allocations: 0 / 0.5848 GB, free: 88.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002787/0.9832, allocations: 1.583 MB / 0.5863 GB, free: 87.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.985, allocations: 234.4 kB / 0.5866 GB, free: 87.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.995, allocations: 6.629 MB / 0.593 GB, free: 80.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/0.997, allocations: 1.724 MB / 0.5947 GB, free: 78.63 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002745/0.9997, allocations: 1.379 MB / 0.5961 GB, free: 77.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/1, allocations: 155.4 kB / 0.5962 GB, free: 77.09 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/1, allocations: 4 kB / 0.5962 GB, free: 77.09 MB / 462.1 MB Notification: Performance of Templates: time 0.04799/1.048, allocations: 31.2 MB / 0.6267 GB, free: 46.19 MB / 462.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/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: 7.023268849996384]