Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,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.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,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.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 183.4 kB / 16.39 MB, free: 5.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008892/0.0008891, allocations: 88.8 kB / 291.5 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002953, allocations: 8 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2244, allocations: 50.4 MB / 401.5 MB, free: 32.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3367, allocations: 94.51 MB / 496 MB, free: 1.992 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.3371, allocations: 87.95 kB / 496.1 MB, free: 1.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3908/0.7279, allocations: 81.34 MB / 0.5639 GB, free: 48.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.7279, allocations: 0 / 0.5639 GB, free: 48.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001364/0.7281, allocations: 84 kB / 0.564 GB, free: 48.77 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01307/0.7412, allocations: 4.324 MB / 0.5682 GB, free: 44.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.7412, allocations: 8.031 kB / 0.5682 GB, free: 44.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009479/0.7507, allocations: 2.252 MB / 0.5704 GB, free: 42.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.7625, allocations: 4.277 MB / 0.5746 GB, free: 37.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.7628, allocations: 324.5 kB / 0.5749 GB, free: 37.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.7645, allocations: 427.9 kB / 0.5753 GB, free: 37.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/0.7819, allocations: 10.62 MB / 0.5857 GB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/0.782, allocations: 63.39 kB / 0.5857 GB, free: 25.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005377/0.7826, allocations: 211.9 kB / 0.5859 GB, free: 25.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00107/0.7837, allocations: 1.029 MB / 0.5869 GB, free: 24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.7982, allocations: 8.466 MB / 0.5952 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04919/0.8474, allocations: 49.1 MB / 0.6432 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00983/0.8573, allocations: 3.968 MB / 0.647 GB, free: 8.711 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/0.869, allocations: 7.67 MB / 0.6545 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.8691, allocations: 51.52 kB / 0.6546 GB, free: 0.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=152): time 4.378e-06/0.8691, allocations: 0 / 0.6546 GB, free: 0.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=159): time 0.02896/0.8981, allocations: 12.45 MB / 0.6667 GB, free: 3.801 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001202/0.8993, allocations: 1.6 MB / 0.6683 GB, free: 2.027 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2024/1.102, allocations: 3.406 MB / 0.6716 GB, free: 112.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003851/1.102, allocations: 52.42 kB / 0.6717 GB, free: 112.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001893/1.104, allocations: 3.122 MB / 0.6747 GB, free: 111.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006473/1.105, allocations: 0.6479 MB / 0.6753 GB, free: 110.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/1.105, allocations: 121 kB / 0.6755 GB, free: 110.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002542/1.105, allocations: 0.5753 MB / 0.676 GB, free: 110.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002661/1.108, allocations: 1.998 MB / 0.678 GB, free: 110.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003981/1.112, allocations: 5.919 MB / 0.6838 GB, free: 105.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004128/1.116, allocations: 3.364 MB / 0.687 GB, free: 105.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.676e-05/1.116, allocations: 40.78 kB / 0.6871 GB, free: 105.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01664/1.133, allocations: 8.765 MB / 0.6956 GB, free: 104.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.449e-05/1.133, allocations: 65.22 kB / 0.6957 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005628/1.139, allocations: 2.763 MB / 0.6984 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004768/1.143, allocations: 1.543 MB / 0.6999 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/1.148, allocations: 1.378 MB / 0.7013 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005157/1.153, allocations: 5.595 MB / 0.7067 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006188/1.159, allocations: 433.1 kB / 0.7071 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/1.161, allocations: 392.1 kB / 0.7075 GB, free: 100.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (738): * Single equations (assignments): 728 * 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: 2 * 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: 1 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.003969/1.165, allocations: 2.017 MB / 0.7095 GB, free: 99.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007365/1.165, allocations: 327.5 kB / 0.7098 GB, free: 99.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00629/1.172, allocations: 3.111 MB / 0.7128 GB, free: 98.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005246/1.177, allocations: 2.671 MB / 0.7154 GB, free: 97.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-05/1.177, allocations: 6.734 kB / 0.7154 GB, free: 97.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.93e-05/1.177, allocations: 6 kB / 0.7154 GB, free: 97.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02061/1.198, allocations: 8.577 MB / 0.7238 GB, free: 94.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/1.198, allocations: 1.969 kB / 0.7238 GB, free: 94.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.199, allocations: 186.8 kB / 0.724 GB, free: 94.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00429/1.203, allocations: 1.447 MB / 0.7254 GB, free: 94.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/1.203, allocations: 33.33 kB / 0.7254 GB, free: 94.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005154/1.209, allocations: 5.794 MB / 0.7311 GB, free: 90.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00074/1.209, allocations: 1.468 MB / 0.7325 GB, free: 88.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008087/1.217, allocations: 5.338 MB / 0.7377 GB, free: 84.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.219, allocations: 389 kB / 0.7381 GB, free: 83.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004219/1.219, allocations: 34.83 kB / 0.7382 GB, free: 83.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.221, allocations: 143.8 kB / 0.7383 GB, free: 83.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/1.221, allocations: 85.7 kB / 0.7384 GB, free: 83.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/1.221, allocations: 43.69 kB / 0.7384 GB, free: 83.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003633/1.225, allocations: 2.353 MB / 0.7407 GB, free: 81.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.225, allocations: 0 / 0.7407 GB, free: 81.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005745/1.23, allocations: 1.02 MB / 0.7417 GB, free: 80.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * 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 (91): * Single equations (assignments): 83 * 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: 2 * 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: 1 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004896/1.231, allocations: 175.6 kB / 0.7419 GB, free: 80.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008617/1.24, allocations: 5.378 MB / 0.7471 GB, free: 75.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/1.24, allocations: 0 / 0.7471 GB, free: 75.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003366/1.243, allocations: 2.015 MB / 0.7491 GB, free: 73.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/1.245, allocations: 361.6 kB / 0.7494 GB, free: 73.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/1.263, allocations: 10.59 MB / 0.7598 GB, free: 64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002944/1.266, allocations: 3.191 MB / 0.7629 GB, free: 61.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004277/1.27, allocations: 1.812 MB / 0.7647 GB, free: 60.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/1.271, allocations: 216.9 kB / 0.7649 GB, free: 60.23 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/1.271, allocations: 0 / 0.7649 GB, free: 60.23 MB / 442.7 MB Notification: Performance of Templates: time 0.0578/1.328, allocations: 33.85 MB / 0.7979 GB, free: 28.53 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches