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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000988/0.000988, allocations: 82.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.198e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07372/0.07375, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2989/0.3727, allocations: 97.18 MB / 467.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.373, allocations: 88.39 kB / 467.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4401/0.8131, allocations: 93.96 MB / 0.5481 GB, free: 91.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.337e-06/0.8132, allocations: 1.344 kB / 0.5481 GB, free: 91.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002153/0.8134, allocations: 90.22 kB / 0.5482 GB, free: 91.64 MB / 410.7 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.01815/0.8315, allocations: 4.718 MB / 0.5528 GB, free: 89.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.8316, allocations: 7.875 kB / 0.5528 GB, free: 89.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.8441, allocations: 2.699 MB / 0.5554 GB, free: 89.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/0.8571, allocations: 5.601 MB / 0.5609 GB, free: 88.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.8575, allocations: 357.7 kB / 0.5612 GB, free: 88.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001877/0.8594, allocations: 484.1 kB / 0.5617 GB, free: 88.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02591/0.8853, allocations: 12.51 MB / 0.5739 GB, free: 85.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002067/0.8855, allocations: 74.77 kB / 0.574 GB, free: 85.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.8866, allocations: 236.6 kB / 0.5742 GB, free: 85.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001652/0.8883, allocations: 1.205 MB / 0.5754 GB, free: 85.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.9077, allocations: 10.13 MB / 0.5853 GB, free: 83.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04838/0.9561, allocations: 52.92 MB / 0.637 GB, free: 38.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009839/0.966, allocations: 4.515 MB / 0.6414 GB, free: 34.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.968, allocations: 1.656 MB / 0.643 GB, free: 32.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009912/0.9779, allocations: 8.299 MB / 0.6511 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.9779, allocations: 55.83 kB / 0.6512 GB, free: 24.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 5.55e-06/0.978, allocations: 0 / 0.6512 GB, free: 24.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.03078/1.009, allocations: 13.77 MB / 0.6646 GB, free: 10.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008483/1.01, allocations: 1.6 MB / 0.6662 GB, free: 9.125 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/1.014, allocations: 3.699 MB / 0.6698 GB, free: 5.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003409/1.014, allocations: 53.7 kB / 0.6698 GB, free: 5.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/1.016, allocations: 3.416 MB / 0.6732 GB, free: 1.926 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006361/1.016, allocations: 0.8091 MB / 0.674 GB, free: 1.129 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/1.017, allocations: 132 kB / 0.6741 GB, free: 1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002548/1.017, allocations: 0.5912 MB / 0.6747 GB, free: 412 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/1.02, allocations: 2.134 MB / 0.6768 GB, free: 14.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00588/1.026, allocations: 6.216 MB / 0.6828 GB, free: 6.012 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00526/1.031, allocations: 3.603 MB / 0.6863 GB, free: 2.406 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-05/1.031, allocations: 40 kB / 0.6864 GB, free: 2.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.2246/1.256, allocations: 8.862 MB / 0.695 GB, free: 92.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.256, allocations: 72.09 kB / 0.6951 GB, free: 92.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005747/1.262, allocations: 2.784 MB / 0.6978 GB, free: 92.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003857/1.266, allocations: 1.092 MB / 0.6989 GB, free: 92.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006705/1.272, allocations: 1.585 MB / 0.7004 GB, free: 92.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004646/1.277, allocations: 4.379 MB / 0.7047 GB, free: 89.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006961/1.284, allocations: 0.4984 MB / 0.7052 GB, free: 89.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001393/1.286, allocations: 411 kB / 0.7056 GB, free: 89.69 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (845): * Single equations (assignments): 836 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001274/1.287, allocations: 0.6183 MB / 0.7062 GB, free: 89.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007182/1.288, allocations: 385.2 kB / 0.7066 GB, free: 89.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00587/1.293, allocations: 3.236 MB / 0.7097 GB, free: 89.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004379/1.298, allocations: 2.683 MB / 0.7123 GB, free: 89.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/1.298, allocations: 3.75 kB / 0.7124 GB, free: 89.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/1.298, allocations: 6.047 kB / 0.7124 GB, free: 89.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/1.315, allocations: 10.31 MB / 0.7224 GB, free: 87.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/1.315, allocations: 16.72 kB / 0.7224 GB, free: 87.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/1.317, allocations: 367.3 kB / 0.7228 GB, free: 87.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/1.319, allocations: 0.9767 MB / 0.7237 GB, free: 87.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/1.32, allocations: 60.94 kB / 0.7238 GB, free: 87.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/1.323, allocations: 4.613 MB / 0.7283 GB, free: 84.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007052/1.324, allocations: 1.463 MB / 0.7297 GB, free: 83.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007943/1.332, allocations: 7.46 MB / 0.737 GB, free: 78.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/1.334, allocations: 0.6678 MB / 0.7377 GB, free: 78.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005499/1.335, allocations: 59.34 kB / 0.7377 GB, free: 78.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.337, allocations: 182 kB / 0.7379 GB, free: 78.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/1.337, allocations: 175.5 kB / 0.7381 GB, free: 78.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/1.337, allocations: 77.02 kB / 0.7381 GB, free: 78.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003507/1.341, allocations: 2.539 MB / 0.7406 GB, free: 77.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.341, allocations: 0 / 0.7406 GB, free: 77.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005206/1.346, allocations: 1.149 MB / 0.7417 GB, free: 77.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 172 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004838/1.346, allocations: 231 kB / 0.742 GB, free: 77.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008267/1.355, allocations: 5.727 MB / 0.7476 GB, free: 75.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.355, allocations: 3.656 kB / 0.7476 GB, free: 75.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003514/1.358, allocations: 2.148 MB / 0.7497 GB, free: 74.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/1.361, allocations: 469.2 kB / 0.7501 GB, free: 73.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/1.376, allocations: 8.902 MB / 0.7588 GB, free: 70.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003339/1.38, allocations: 3.559 MB / 0.7623 GB, free: 68.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004886/1.384, allocations: 2.028 MB / 0.7643 GB, free: 66.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007394/1.385, allocations: 272.8 kB / 0.7645 GB, free: 66.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/1.385, allocations: 0 / 0.7645 GB, free: 66.72 MB / 426.7 MB Notification: Performance of Templates: time 0.06086/1.446, allocations: 37.06 MB / 0.8007 GB, free: 35.77 MB / 426.7 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