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.001344/0.001344, allocations: 105.5 kB / 17.15 MB, free: 6.305 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.001203/0.001203, allocations: 198 kB / 18.07 MB, free: 5.41 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.515/1.515, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001461/0.001461, allocations: 51.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.113, allocations: 46.63 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.04503/0.158, allocations: 46.97 MB / 373.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2551/0.4132, allocations: 9.971 MB / 383.6 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0137/0.427, allocations: 201.3 kB / 383.7 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006284/0.4333, allocations: 2.728 MB / 386.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006532/0.4399, allocations: 1.837 MB / 388.3 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.4419, allocations: 0.7551 MB / 389.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009381/0.4513, allocations: 6.533 MB / 395.6 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004907/0.4562, allocations: 3.545 MB / 399.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.4592, allocations: 1.517 MB / 400.7 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003253/0.4625, allocations: 2.51 MB / 403.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.4635, allocations: 258.2 kB / 403.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/0.4669, allocations: 1.245 MB / 404.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001999/0.4689, allocations: 2.047 MB / 406.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002516/0.4715, allocations: 2.355 MB / 409.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007729/0.4792, allocations: 7.197 MB / 416.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4792, allocations: 0 / 416.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4793, allocations: 0 / 416.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000294/0.4796, allocations: 4 kB / 416.3 MB, free: 13.17 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.01223/0.4918, allocations: 5.274 MB / 421.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.4919, allocations: 12.03 kB / 421.6 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007793/0.4997, allocations: 2.11 MB / 423.7 MB, free: 5.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/0.505, allocations: 2.588 MB / 426.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.5053, allocations: 277.8 kB / 426.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/0.5067, allocations: 426.1 kB / 426.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02914/0.5359, allocations: 12.22 MB / 439.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003738/0.5363, allocations: 47.25 kB / 439.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002074/0.5384, allocations: 182.5 kB / 439.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004023/0.5425, allocations: 2.156 MB / 441.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02539/0.5679, allocations: 10.22 MB / 451.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06687/0.6348, allocations: 44.33 MB / 496.1 MB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/0.6469, allocations: 4.609 MB / 0.489 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/0.65, allocations: 1.728 MB / 0.4907 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01605/0.6661, allocations: 8.217 MB / 0.4987 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.781e-05/0.6662, allocations: 55.75 kB / 0.4987 GB, free: 12.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=183): time 5.581e-06/0.6662, allocations: 4 kB / 0.4987 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=205): time 0.04571/0.7119, allocations: 15.97 MB / 0.5143 GB, free: 12.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001428/0.7134, allocations: 1.601 MB / 0.5159 GB, free: 11.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008654/0.7221, allocations: 4.215 MB / 0.52 GB, free: 6.785 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005289/0.7227, allocations: 53.7 kB / 0.5201 GB, free: 6.727 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002919/0.7256, allocations: 3.404 MB / 0.5234 GB, free: 3.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.7268, allocations: 0.8147 MB / 0.5242 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003268/0.7301, allocations: 1.351 MB / 0.5255 GB, free: 1.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7302, allocations: 313 kB / 0.5258 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004177/0.7344, allocations: 2.27 MB / 0.528 GB, free: 14.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007842/0.7423, allocations: 6.39 MB / 0.5343 GB, free: 6.141 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2002/0.9425, allocations: 9.316 MB / 0.5433 GB, free: 169.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000186/0.9428, allocations: 41.56 kB / 0.5434 GB, free: 169.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02506/0.9678, allocations: 10.05 MB / 0.5532 GB, free: 166.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.968, allocations: 67.38 kB / 0.5533 GB, free: 166.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01034/0.9784, allocations: 3.793 MB / 0.557 GB, free: 165.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009855/0.9882, allocations: 2.165 MB / 0.5591 GB, free: 165.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005355/0.9936, allocations: 1.588 MB / 0.5606 GB, free: 165.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007669/1.001, allocations: 6.063 MB / 0.5666 GB, free: 162 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005956/1.007, allocations: 432.4 kB / 0.567 GB, free: 161.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.009, allocations: 415 kB / 0.5674 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.004801/1.013, allocations: 2.214 MB / 0.5695 GB, free: 160.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009538/1.014, allocations: 373.8 kB / 0.5699 GB, free: 160.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006692/1.021, allocations: 3.291 MB / 0.5731 GB, free: 159 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004627/1.026, allocations: 2.748 MB / 0.5758 GB, free: 157 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/1.026, allocations: 7.25 kB / 0.5758 GB, free: 157 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/1.026, allocations: 11.95 kB / 0.5758 GB, free: 157 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/1.045, allocations: 10.34 MB / 0.5859 GB, free: 146.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-05/1.045, allocations: 12 kB / 0.5859 GB, free: 146.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/1.047, allocations: 363.5 kB / 0.5863 GB, free: 146.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002653/1.049, allocations: 0.9916 MB / 0.5872 GB, free: 145.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002811/1.05, allocations: 55.98 kB / 0.5873 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003948/1.054, allocations: 4.584 MB / 0.5918 GB, free: 140.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007566/1.054, allocations: 1.476 MB / 0.5932 GB, free: 138.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008193/1.063, allocations: 5.92 MB / 0.599 GB, free: 132.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/1.065, allocations: 0.6562 MB / 0.5996 GB, free: 132 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/1.066, allocations: 59.97 kB / 0.5997 GB, free: 131.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.068, allocations: 143.8 kB / 0.5998 GB, free: 131.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000377/1.068, allocations: 168.4 kB / 0.6 GB, free: 131.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.069, allocations: 79.98 kB / 0.6001 GB, free: 131.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005406/1.074, allocations: 2.605 MB / 0.6026 GB, free: 128.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.074, allocations: 0 / 0.6026 GB, free: 128.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007751/1.082, allocations: 1.165 MB / 0.6037 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.0007925/1.083, allocations: 221.6 kB / 0.6039 GB, free: 127.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01025/1.093, allocations: 5.977 MB / 0.6098 GB, free: 121.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/1.093, allocations: 0 / 0.6098 GB, free: 121.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003746/1.097, allocations: 2.19 MB / 0.6119 GB, free: 119.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005374/1.102, allocations: 491 kB / 0.6124 GB, free: 118.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.121, allocations: 12.94 MB / 0.625 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004512/1.126, allocations: 3.47 MB / 0.6284 GB, free: 102.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004604/1.131, allocations: 2.02 MB / 0.6304 GB, free: 100.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000647/1.131, allocations: 279.4 kB / 0.6307 GB, free: 99.86 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/1.131, allocations: 0 / 0.6307 GB, free: 99.86 MB / 462.1 MB Notification: Performance of Templates: time 0.06422/1.195, allocations: 40.69 MB / 0.6704 GB, free: 59.21 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