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.0009122/0.0009123, allocations: 182.6 kB / 18.04 MB, free: 3.789 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.311/1.311, allocations: 205.4 MB / 224.2 MB, free: 9.051 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.0007467/0.0007466, allocations: 92.97 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 19.98 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3119, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.4688, allocations: 97.43 MB / 474.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.4692, allocations: 91.95 kB / 474.5 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3988/0.8681, allocations: 92.51 MB / 0.5538 GB, free: 63.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.8681, allocations: 0 / 0.5538 GB, free: 63.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002426/0.8684, allocations: 87.98 kB / 0.5538 GB, free: 63.73 MB / 378.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.01685/0.8852, allocations: 4.897 MB / 0.5586 GB, free: 58.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.8853, allocations: 8.031 kB / 0.5586 GB, free: 58.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.8972, allocations: 2.588 MB / 0.5612 GB, free: 56.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009661/0.9069, allocations: 4.455 MB / 0.5655 GB, free: 51.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003722/0.9073, allocations: 361.8 kB / 0.5659 GB, free: 51.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00216/0.9095, allocations: 480.1 kB / 0.5663 GB, free: 50.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02678/0.9363, allocations: 12.56 MB / 0.5786 GB, free: 37.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003111/0.9367, allocations: 79.27 kB / 0.5787 GB, free: 37.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002002/0.9387, allocations: 227.9 kB / 0.5789 GB, free: 36.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001759/0.9405, allocations: 1.21 MB / 0.5801 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02145/0.9619, allocations: 10.26 MB / 0.5901 GB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06313/1.025, allocations: 52.86 MB / 0.6417 GB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.202/1.227, allocations: 4.533 MB / 0.6461 GB, free: 97.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/1.229, allocations: 1.684 MB / 0.6478 GB, free: 97.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/1.24, allocations: 8.225 MB / 0.6558 GB, free: 94.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.24, allocations: 57.86 kB / 0.6558 GB, free: 94.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 4.708e-06/1.24, allocations: 0 / 0.6558 GB, free: 94.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.03841/1.279, allocations: 15.93 MB / 0.6714 GB, free: 91.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001155/1.28, allocations: 1.601 MB / 0.673 GB, free: 90.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005475/1.285, allocations: 4.255 MB / 0.6771 GB, free: 89.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003082/1.286, allocations: 56.41 kB / 0.6772 GB, free: 89.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.287, allocations: 3.421 MB / 0.6805 GB, free: 86.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006443/1.288, allocations: 0.8051 MB / 0.6813 GB, free: 85.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/1.288, allocations: 134.1 kB / 0.6814 GB, free: 85.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003017/1.289, allocations: 0.5938 MB / 0.682 GB, free: 85.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/1.292, allocations: 2.243 MB / 0.6842 GB, free: 84.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004323/1.296, allocations: 6.351 MB / 0.6904 GB, free: 78.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008443/1.305, allocations: 9.232 MB / 0.6994 GB, free: 71.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.906e-05/1.305, allocations: 42.12 kB / 0.6995 GB, free: 71.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.0148/1.32, allocations: 9.102 MB / 0.7084 GB, free: 67.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.848e-05/1.32, allocations: 68 kB / 0.7084 GB, free: 67.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004543/1.324, allocations: 2.824 MB / 0.7112 GB, free: 65.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002851/1.327, allocations: 1.059 MB / 0.7122 GB, free: 64.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/1.332, allocations: 1.592 MB / 0.7138 GB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003492/1.335, allocations: 4.384 MB / 0.718 GB, free: 59.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/1.341, allocations: 0.4953 MB / 0.7185 GB, free: 58.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008728/1.341, allocations: 414.7 kB / 0.7189 GB, free: 58.27 MB / 410.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 () * Number of clocked 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.004163/1.346, allocations: 2.21 MB / 0.7211 GB, free: 56.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000908/1.346, allocations: 389.9 kB / 0.7215 GB, free: 55.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006173/1.353, allocations: 3.258 MB / 0.7246 GB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004578/1.357, allocations: 2.726 MB / 0.7273 GB, free: 51.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/1.357, allocations: 4 kB / 0.7273 GB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/1.357, allocations: 9.609 kB / 0.7273 GB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01901/1.376, allocations: 10.35 MB / 0.7374 GB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/1.376, allocations: 12.19 kB / 0.7374 GB, free: 42.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/1.378, allocations: 369.6 kB / 0.7378 GB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/1.38, allocations: 0.9739 MB / 0.7387 GB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/1.381, allocations: 67.22 kB / 0.7388 GB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003749/1.384, allocations: 4.609 MB / 0.7433 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006662/1.385, allocations: 1.467 MB / 0.7447 GB, free: 35.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007485/1.393, allocations: 5.885 MB / 0.7505 GB, free: 30.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.394, allocations: 0.6639 MB / 0.7511 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00049/1.395, allocations: 64.77 kB / 0.7512 GB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/1.396, allocations: 171.8 kB / 0.7514 GB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002745/1.397, allocations: 181.5 kB / 0.7515 GB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.397, allocations: 79.92 kB / 0.7516 GB, free: 28.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003808/1.4, allocations: 2.633 MB / 0.7542 GB, free: 26.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.4, allocations: 0 / 0.7542 GB, free: 26.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005301/1.406, allocations: 1.154 MB / 0.7553 GB, free: 25.18 MB / 410.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 () * Number of clocked 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.000535/1.406, allocations: 227.1 kB / 0.7555 GB, free: 24.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009293/1.416, allocations: 5.862 MB / 0.7612 GB, free: 19.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.416, allocations: 4 kB / 0.7612 GB, free: 19.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003381/1.419, allocations: 2.179 MB / 0.7634 GB, free: 16.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01066/1.43, allocations: 492.5 kB / 0.7638 GB, free: 16.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.448, allocations: 12.59 MB / 0.7761 GB, free: 3.617 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/1.452, allocations: 3.466 MB / 0.7795 GB, free: 144 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005625/1.458, allocations: 2.029 MB / 0.7815 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008565/1.459, allocations: 267.4 kB / 0.7818 GB, free: 13.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/1.459, allocations: 0 / 0.7818 GB, free: 13.85 MB / 426.7 MB Notification: Performance of Templates: time 0.2973/1.756, allocations: 37.13 MB / 0.818 GB, free: 109.1 MB / 442.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/jenkins1/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