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.001815/0.001815, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002575/0.002575, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.514/1.514, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001643/0.001643, allocations: 47.94 kB / 373.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1138, allocations: 53.35 MB / 426.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.2132/0.3269, allocations: 7.434 MB / 434.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006673/0.3336, allocations: 3.27 MB / 437.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.3349, allocations: 41.53 kB / 437.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.3372, allocations: 1.049 MB / 438.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003684/0.3409, allocations: 1.367 MB / 440 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.342, allocations: 455.2 kB / 440.4 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004098/0.3461, allocations: 2.671 MB / 443.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.3478, allocations: 1.312 MB / 444.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.3492, allocations: 0.855 MB / 445.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.3511, allocations: 1.326 MB / 446.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004488/0.3515, allocations: 173.5 kB / 446.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.3537, allocations: 1.05 MB / 447.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.355, allocations: 1.109 MB / 448.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.3564, allocations: 1.301 MB / 450.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006158/0.3625, allocations: 4.329 MB / 454.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3625, allocations: 0 / 454.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3625, allocations: 1.062 kB / 454.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.3626, allocations: 0 / 454.5 MB, free: 14.79 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.00757/0.3702, allocations: 3.105 MB / 457.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3702, allocations: 13.53 kB / 457.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007744/0.378, allocations: 1.809 MB / 459.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/0.3816, allocations: 1.38 MB / 460.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.3818, allocations: 137.3 kB / 461 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007448/0.3825, allocations: 253.8 kB / 461.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01527/0.3978, allocations: 6.675 MB / 467.9 MB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.3979, allocations: 34.7 kB / 467.9 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003424/0.3982, allocations: 87.2 kB / 468 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002568/0.4008, allocations: 1.37 MB / 469.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.4152, allocations: 6.043 MB / 475.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03828/0.4535, allocations: 25.57 MB / 0.4893 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008086/0.4616, allocations: 2.615 MB / 0.4918 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.4633, allocations: 0.9928 MB / 0.4928 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007051/0.4703, allocations: 3.976 MB / 0.4967 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.099e-05/0.4704, allocations: 51.06 kB / 0.4967 GB, free: 12.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.897e-06/0.4704, allocations: 0 / 0.4967 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.03003/0.5004, allocations: 10.45 MB / 0.5069 GB, free: 2.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001582/0.502, allocations: 1.671 MB / 0.5086 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004339/0.5063, allocations: 2.73 MB / 0.5112 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003177/0.5066, allocations: 45.73 kB / 0.5113 GB, free: 13.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.5084, allocations: 2.171 MB / 0.5134 GB, free: 11.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006863/0.5091, allocations: 0.5273 MB / 0.5139 GB, free: 11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/0.5104, allocations: 0.9212 MB / 0.5148 GB, free: 10.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5105, allocations: 309.3 kB / 0.5151 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002712/0.5132, allocations: 1.656 MB / 0.5167 GB, free: 8.094 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/0.5183, allocations: 4.46 MB / 0.5211 GB, free: 2.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008677/0.527, allocations: 6.562 MB / 0.5275 GB, free: 10.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.278e-05/0.527, allocations: 28 kB / 0.5275 GB, free: 10.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02338/0.5504, allocations: 8.064 MB / 0.5354 GB, free: 2.168 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.804e-05/0.5505, allocations: 48 kB / 0.5354 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01302/0.5635, allocations: 3.566 MB / 0.5389 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01332/0.5768, allocations: 2.666 MB / 0.5415 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003492/0.5803, allocations: 1.018 MB / 0.5425 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/0.5967, allocations: 9.729 MB / 0.552 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003856/0.6006, allocations: 335.7 kB / 0.5523 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005655/0.6011, allocations: 284 kB / 0.5526 GB, free: 240 kB / 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.002473/0.6036, allocations: 1.415 MB / 0.554 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004822/0.6041, allocations: 238.4 kB / 0.5542 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007857/0.6049, allocations: 325.9 kB / 0.5545 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006769/0.6116, allocations: 2.517 MB / 0.557 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.6117, allocations: 8 kB / 0.557 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.6117, allocations: 7.922 kB / 0.557 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.6262, allocations: 6.855 MB / 0.5637 GB, free: 4.742 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.6262, allocations: 0 / 0.5637 GB, free: 4.742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009251/0.6271, allocations: 179.7 kB / 0.5639 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005495/0.6326, allocations: 1.43 MB / 0.5653 GB, free: 3.129 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.6328, allocations: 31.97 kB / 0.5653 GB, free: 3.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.645, allocations: 7.928 MB / 0.573 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001335/0.6463, allocations: 1.536 MB / 0.5745 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/0.6565, allocations: 4.862 MB / 0.5793 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007414/0.6573, allocations: 307.3 kB / 0.5796 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/0.6578, allocations: 28.25 kB / 0.5796 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.6591, allocations: 119.8 kB / 0.5797 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/0.6594, allocations: 80.38 kB / 0.5798 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.6596, allocations: 35.98 kB / 0.5798 GB, free: 3.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003155/0.6627, allocations: 1.685 MB / 0.5815 GB, free: 2.043 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6627, allocations: 0 / 0.5815 GB, free: 2.043 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004085/0.6668, allocations: 0.7811 MB / 0.5822 GB, free: 1.262 MB / 494.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.0004529/0.6673, allocations: 162.2 kB / 0.5824 GB, free: 1.098 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008512/0.6758, allocations: 4.271 MB / 0.5866 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6758, allocations: 0 / 0.5866 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003731/0.6795, allocations: 1.659 MB / 0.5882 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.6818, allocations: 259.3 kB / 0.5884 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.6954, allocations: 6.64 MB / 0.5949 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/0.6987, allocations: 2.293 MB / 0.5971 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003415/0.7021, allocations: 1.408 MB / 0.5985 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/0.7027, allocations: 167.4 kB / 0.5987 GB, free: 244 kB / 0.4981 GB Notification: Performance of SimCode: time 1.001e-06/0.7027, allocations: 0 / 0.5987 GB, free: 244 kB / 0.4981 GB Notification: Performance of Templates: time 0.3113/1.014, allocations: 28.83 MB / 0.6268 GB, free: 163.9 MB / 0.5137 GB " [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 -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/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.484292928129435]