Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 114.6 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 47.94 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1075, allocations: 46.64 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.04385/0.1514, allocations: 46.98 MB / 373.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2342/0.3856, allocations: 9.863 MB / 383.6 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01388/0.3996, allocations: 198.9 kB / 383.8 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008524/0.4081, allocations: 2.639 MB / 386.5 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007937/0.4161, allocations: 1.84 MB / 388.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.4185, allocations: 0.7608 MB / 389.1 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008263/0.4268, allocations: 4.649 MB / 393.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005864/0.4327, allocations: 3.764 MB / 397.5 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003827/0.4365, allocations: 1.732 MB / 399.2 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003745/0.4403, allocations: 2.599 MB / 401.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008555/0.4412, allocations: 352.5 kB / 402.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.4439, allocations: 1.275 MB / 403.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002259/0.4461, allocations: 2.138 MB / 405.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002661/0.4488, allocations: 2.457 MB / 408 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0088/0.4576, allocations: 7.326 MB / 415.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.4577, allocations: 2.469 kB / 415.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4577, allocations: 3.938 kB / 415.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003836/0.4581, allocations: 0 / 415.4 MB, free: 14.18 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01488/0.473, allocations: 5.275 MB / 420.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.999e-05/0.4731, allocations: 8.031 kB / 420.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008066/0.4812, allocations: 2.116 MB / 422.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006496/0.4877, allocations: 2.592 MB / 425.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.488, allocations: 271 kB / 425.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.4897, allocations: 432.6 kB / 426 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02519/0.5149, allocations: 12.21 MB / 438.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001576/0.5151, allocations: 52.19 kB / 438.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005837/0.5157, allocations: 175.5 kB / 438.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00323/0.5189, allocations: 2.167 MB / 440.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02267/0.5416, allocations: 10.2 MB / 450.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05741/0.5991, allocations: 44.33 MB / 495.2 MB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.6109, allocations: 4.608 MB / 499.8 MB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/0.6144, allocations: 1.724 MB / 0.4897 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01363/0.6281, allocations: 8.225 MB / 0.4978 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.6282, allocations: 55.81 kB / 0.4978 GB, free: 13.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=183): time 5.19e-06/0.6282, allocations: 0 / 0.4978 GB, free: 13.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=205): time 0.03944/0.6676, allocations: 15.97 MB / 0.5134 GB, free: 13.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001323/0.669, allocations: 1.692 MB / 0.5151 GB, free: 11.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006009/0.675, allocations: 4.219 MB / 0.5192 GB, free: 7.707 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004917/0.6755, allocations: 57.7 kB / 0.5192 GB, free: 7.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002599/0.6781, allocations: 3.401 MB / 0.5226 GB, free: 4.246 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001151/0.6793, allocations: 0.8126 MB / 0.5234 GB, free: 3.441 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/0.6812, allocations: 1.356 MB / 0.5247 GB, free: 2.078 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6813, allocations: 305.1 kB / 0.525 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/0.6847, allocations: 2.263 MB / 0.5272 GB, free: 15.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00634/0.6911, allocations: 6.398 MB / 0.5334 GB, free: 7.066 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2146/0.9057, allocations: 9.306 MB / 0.5425 GB, free: 169.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002065/0.9059, allocations: 41.81 kB / 0.5426 GB, free: 169.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02598/0.9319, allocations: 10.06 MB / 0.5524 GB, free: 167 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.9321, allocations: 67.25 kB / 0.5525 GB, free: 167 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01002/0.9421, allocations: 3.794 MB / 0.5562 GB, free: 166.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009543/0.9517, allocations: 2.168 MB / 0.5583 GB, free: 165.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004929/0.9566, allocations: 1.588 MB / 0.5598 GB, free: 165.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007408/0.9641, allocations: 6.603 MB / 0.5663 GB, free: 162 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005322/0.9694, allocations: 429.6 kB / 0.5667 GB, free: 161.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/0.9705, allocations: 423.7 kB / 0.5671 GB, free: 161.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003968/0.9745, allocations: 2.211 MB / 0.5692 GB, free: 160.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006467/0.9752, allocations: 373.5 kB / 0.5696 GB, free: 160.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005191/0.9804, allocations: 3.293 MB / 0.5728 GB, free: 158.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004148/0.9845, allocations: 2.747 MB / 0.5755 GB, free: 157.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.9846, allocations: 6.344 kB / 0.5755 GB, free: 157.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.9846, allocations: 7.969 kB / 0.5755 GB, free: 157.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.999, allocations: 10.34 MB / 0.5856 GB, free: 146.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/0.999, allocations: 16 kB / 0.5856 GB, free: 146.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/1, allocations: 367.4 kB / 0.586 GB, free: 146.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002481/1.003, allocations: 0.9871 MB / 0.5869 GB, free: 145.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/1.003, allocations: 63.97 kB / 0.587 GB, free: 145.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004734/1.008, allocations: 4.904 MB / 0.5918 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001168/1.009, allocations: 1.565 MB / 0.5933 GB, free: 138.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/1.021, allocations: 5.921 MB / 0.5991 GB, free: 132.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002385/1.024, allocations: 0.6561 MB / 0.5997 GB, free: 132 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008264/1.024, allocations: 59.97 kB / 0.5998 GB, free: 132 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.027, allocations: 143.7 kB / 0.5999 GB, free: 131.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004519/1.027, allocations: 176.4 kB / 0.6001 GB, free: 131.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/1.028, allocations: 75.98 kB / 0.6002 GB, free: 131.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005222/1.033, allocations: 2.605 MB / 0.6027 GB, free: 129 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.033, allocations: 0 / 0.6027 GB, free: 129 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01062/1.044, allocations: 1.171 MB / 0.6039 GB, free: 127.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008362/1.044, allocations: 213.2 kB / 0.6041 GB, free: 127.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01538/1.06, allocations: 6.677 MB / 0.6106 GB, free: 120.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-05/1.06, allocations: 0 / 0.6106 GB, free: 120.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004/1.064, allocations: 2.196 MB / 0.6127 GB, free: 118.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/1.069, allocations: 0.4961 MB / 0.6132 GB, free: 118.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/1.088, allocations: 12.93 MB / 0.6258 GB, free: 105 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003352/1.091, allocations: 3.466 MB / 0.6292 GB, free: 101.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004573/1.096, allocations: 2.03 MB / 0.6312 GB, free: 99.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006736/1.097, allocations: 267.4 kB / 0.6315 GB, free: 99.24 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/1.097, allocations: 3.938 kB / 0.6315 GB, free: 99.24 MB / 462.1 MB Notification: Performance of Templates: time 0.06502/1.162, allocations: 42.36 MB / 0.6728 GB, free: 56.91 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches