Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|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.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|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.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009961/0.000996, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.274/1.274, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008291/0.0008291, allocations: 92.25 kB / 267.1 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3244/0.3244, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.814e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.4556, allocations: 102.9 MB / 0.5733 GB, free: 2.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.4559, allocations: 74.45 kB / 0.5734 GB, free: 2.902 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2371/0.693, allocations: 98.69 MB / 0.6698 GB, free: 8.949 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.693, allocations: 0 / 0.6698 GB, free: 8.949 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001624/0.6932, allocations: 99.98 kB / 0.6699 GB, free: 8.852 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02184/0.7151, allocations: 5.929 MB / 0.6757 GB, free: 2.855 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.7151, allocations: 12.03 kB / 0.6757 GB, free: 2.844 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/0.7291, allocations: 2.938 MB / 0.6785 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/0.7449, allocations: 7.243 MB / 0.6856 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.7452, allocations: 369.6 kB / 0.686 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/0.7468, allocations: 0.4927 MB / 0.6864 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2784/1.025, allocations: 12.45 MB / 0.6986 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002193/1.025, allocations: 77.88 kB / 0.6987 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008255/1.026, allocations: 238.2 kB / 0.6989 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002415/1.029, allocations: 1.237 MB / 0.7001 GB, free: 88.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/1.05, allocations: 10.46 MB / 0.7103 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05584/1.106, allocations: 58.04 MB / 0.767 GB, free: 54.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01317/1.119, allocations: 5.329 MB / 0.7722 GB, free: 52.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00389/1.123, allocations: 2.447 MB / 0.7746 GB, free: 51.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01956/1.143, allocations: 12.33 MB / 0.7866 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/1.143, allocations: 58.06 kB / 0.7867 GB, free: 44.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=219): time 5.26e-06/1.143, allocations: 0 / 0.7867 GB, free: 44.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=258): time 0.05041/1.193, allocations: 21.29 MB / 0.8075 GB, free: 37.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002346/1.196, allocations: 4.622 MB / 0.812 GB, free: 33.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007635/1.203, allocations: 4.009 MB / 0.8159 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007333/1.204, allocations: 69.84 kB / 0.816 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003202/1.207, allocations: 3.528 MB / 0.8194 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001713/1.209, allocations: 1.019 MB / 0.8204 GB, free: 28.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008859/1.21, allocations: 150.3 kB / 0.8206 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000539/1.21, allocations: 0.6268 MB / 0.8212 GB, free: 27.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004605/1.215, allocations: 3.08 MB / 0.8242 GB, free: 26.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005991/1.221, allocations: 7.344 MB / 0.8314 GB, free: 20.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006114/1.227, allocations: 4.675 MB / 0.8359 GB, free: 18.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001348/1.227, allocations: 44.81 kB / 0.836 GB, free: 18.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02351/1.251, allocations: 12.97 MB / 0.8486 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001486/1.251, allocations: 66.22 kB / 0.8487 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01246/1.264, allocations: 6.466 MB / 0.855 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01033/1.274, allocations: 3.353 MB / 0.8583 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005977/1.28, allocations: 1.726 MB / 0.86 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/1.298, allocations: 15.83 MB / 0.8754 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008269/1.306, allocations: 0.7661 MB / 0.8762 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00166/1.308, allocations: 453.9 kB / 0.8766 GB, free: 5.855 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * Number of states: 0 () * Number of discrete variables: 45 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (906): * Single equations (assignments): 886 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002704/1.31, allocations: 0.6645 MB / 0.8773 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/1.312, allocations: 418.6 kB / 0.8777 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2915/1.603, allocations: 7.094 MB / 0.8846 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01374/1.617, allocations: 6.393 MB / 0.8908 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/1.617, allocations: 16.88 kB / 0.8908 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.319e-05/1.617, allocations: 9.891 kB / 0.8909 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02621/1.643, allocations: 15.37 MB / 0.9059 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/1.643, allocations: 9.016 kB / 0.9059 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/1.645, allocations: 446.6 kB / 0.9063 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009316/1.654, allocations: 3.346 MB / 0.9096 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006803/1.655, allocations: 75.69 kB / 0.9096 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0172/1.672, allocations: 16.46 MB / 0.9257 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002165/1.675, allocations: 4.421 MB / 0.93 GB, free: 84.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/1.694, allocations: 11.25 MB / 0.941 GB, free: 82.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002386/1.697, allocations: 491.1 kB / 0.9415 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/1.698, allocations: 66.72 kB / 0.9415 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003541/1.702, allocations: 338.6 kB / 0.9419 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007297/1.703, allocations: 200.8 kB / 0.9421 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002536/1.703, allocations: 83.5 kB / 0.9421 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005507/1.708, allocations: 2.775 MB / 0.9449 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/1.708, allocations: 0 / 0.9449 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01031/1.719, allocations: 1.528 MB / 0.9463 GB, free: 82.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],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],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00101/1.72, allocations: 228 kB / 0.9466 GB, free: 82.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01666/1.736, allocations: 9.182 MB / 0.9555 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/1.736, allocations: 0 / 0.9555 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008526/1.745, allocations: 4.605 MB / 0.96 GB, free: 76.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004396/1.749, allocations: 0.518 MB / 0.9605 GB, free: 76.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/1.772, allocations: 11.52 MB / 0.9718 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005795/1.778, allocations: 3.807 MB / 0.9755 GB, free: 70.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006667/1.784, allocations: 2.259 MB / 0.9777 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.786, allocations: 306.4 kB / 0.978 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of SimCode: time 3.797e-06/1.786, allocations: 0 / 0.978 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.08774/1.874, allocations: 56.3 MB / 1.033 GB, free: 37.79 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring2/Spring2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches