Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001467/0.001467, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 8.062 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 72.75 kB / 379.1 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3203, allocations: 53.36 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009493/0.3298, allocations: 7.476 MB / 439.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00687/0.3367, allocations: 3.293 MB / 443.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.3377, allocations: 39.81 kB / 443.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.34, allocations: 1.043 MB / 444.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003548/0.3436, allocations: 1.382 MB / 445.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.3446, allocations: 459.1 kB / 446.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00416/0.3488, allocations: 2.672 MB / 448.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.3507, allocations: 1.179 MB / 449.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.3525, allocations: 0.8524 MB / 450.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/0.3547, allocations: 1.335 MB / 452.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004993/0.3552, allocations: 172 kB / 452.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.3573, allocations: 1.049 MB / 453.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.3586, allocations: 1.118 MB / 454.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.3601, allocations: 1.289 MB / 455.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006349/0.3664, allocations: 4.341 MB / 460.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3664, allocations: 0 / 460.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3664, allocations: 0 / 460.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001203/0.3665, allocations: 0 / 460.1 MB, free: 11.16 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.007042/0.3736, allocations: 3.025 MB / 463.1 MB, free: 8.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3736, allocations: 12.03 kB / 463.1 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006696/0.3803, allocations: 1.805 MB / 464.9 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/0.3838, allocations: 1.325 MB / 466.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.3839, allocations: 131.3 kB / 466.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007187/0.3846, allocations: 255.7 kB / 466.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.3962, allocations: 6.672 MB / 473.3 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-05/0.3963, allocations: 35.75 kB / 473.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/0.3966, allocations: 91.89 kB / 473.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002202/0.3988, allocations: 1.355 MB / 474.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/0.4113, allocations: 6.048 MB / 480.8 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03334/0.4447, allocations: 25.5 MB / 0.4945 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006772/0.4514, allocations: 2.153 MB / 0.4966 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.4529, allocations: 0.9809 MB / 0.4975 GB, free: 8.414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006154/0.4591, allocations: 2.992 MB / 0.5005 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.4591, allocations: 54.98 kB / 0.5005 GB, free: 5.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 4.137e-06/0.4591, allocations: 3.938 kB / 0.5005 GB, free: 5.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02717/0.4863, allocations: 10.13 MB / 0.5104 GB, free: 11.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001404/0.4877, allocations: 1.564 MB / 0.5119 GB, free: 9.391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.4914, allocations: 2.722 MB / 0.5146 GB, free: 6.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.4916, allocations: 41.7 kB / 0.5146 GB, free: 6.602 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.4931, allocations: 2.171 MB / 0.5168 GB, free: 4.406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005233/0.4937, allocations: 0.5311 MB / 0.5173 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/0.4948, allocations: 0.929 MB / 0.5182 GB, free: 2.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4949, allocations: 305.1 kB / 0.5185 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002524/0.4975, allocations: 1.656 MB / 0.5201 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005903/0.5034, allocations: 4.468 MB / 0.5245 GB, free: 11.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008769/0.5121, allocations: 6.559 MB / 0.5309 GB, free: 3.141 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.796e-05/0.5122, allocations: 28 kB / 0.5309 GB, free: 3.113 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02134/0.5336, allocations: 8.064 MB / 0.5388 GB, free: 11.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.526e-05/0.5336, allocations: 52.98 kB / 0.5388 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01159/0.5452, allocations: 3.554 MB / 0.5423 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/0.557, allocations: 2.673 MB / 0.5449 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/0.5603, allocations: 1.014 MB / 0.5459 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.253/0.8132, allocations: 9.515 MB / 0.5552 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003693/0.8169, allocations: 337 kB / 0.5555 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/0.8179, allocations: 282.8 kB / 0.5558 GB, free: 107.6 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.003033/0.821, allocations: 1.421 MB / 0.5572 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006927/0.8217, allocations: 246.3 kB / 0.5574 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000604/0.8223, allocations: 327.8 kB / 0.5577 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005294/0.8276, allocations: 2.503 MB / 0.5601 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/0.8276, allocations: 11.27 kB / 0.5602 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.8276, allocations: 3.609 kB / 0.5602 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.8391, allocations: 6.781 MB / 0.5668 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.8391, allocations: 5.219 kB / 0.5668 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/0.8399, allocations: 172.1 kB / 0.5669 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004351/0.8443, allocations: 1.438 MB / 0.5684 GB, free: 103.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.8445, allocations: 31.42 kB / 0.5684 GB, free: 103.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008459/0.8529, allocations: 7.714 MB / 0.5759 GB, free: 98.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007559/0.8537, allocations: 1.441 MB / 0.5773 GB, free: 96.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007992/0.8617, allocations: 4.863 MB / 0.5821 GB, free: 92.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.8623, allocations: 233.2 kB / 0.5823 GB, free: 91.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004934/0.8628, allocations: 24 kB / 0.5823 GB, free: 91.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.8642, allocations: 115.8 kB / 0.5824 GB, free: 91.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/0.8644, allocations: 87.81 kB / 0.5825 GB, free: 91.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.8645, allocations: 38.39 kB / 0.5825 GB, free: 91.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002266/0.8668, allocations: 1.687 MB / 0.5842 GB, free: 89.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.8668, allocations: 0 / 0.5842 GB, free: 89.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00361/0.8704, allocations: 0.7782 MB / 0.585 GB, free: 89.19 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.0003389/0.8708, allocations: 157.1 kB / 0.5851 GB, free: 89.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006589/0.8773, allocations: 4.205 MB / 0.5892 GB, free: 84.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8773, allocations: 0 / 0.5892 GB, free: 84.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002773/0.8801, allocations: 1.57 MB / 0.5907 GB, free: 83.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.8824, allocations: 270 kB / 0.591 GB, free: 83.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009061/0.8914, allocations: 6.681 MB / 0.5975 GB, free: 76.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/0.8931, allocations: 2.29 MB / 0.5998 GB, free: 74.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00253/0.8956, allocations: 1.408 MB / 0.6011 GB, free: 72.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.896, allocations: 171.4 kB / 0.6013 GB, free: 72.43 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/0.896, allocations: 3.938 kB / 0.6013 GB, free: 72.42 MB / 462.1 MB Notification: Performance of Templates: time 0.04686/0.9428, allocations: 31.95 MB / 0.6325 GB, free: 40.64 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.416856663301587]