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.001263/0.001263, allocations: 177.2 kB / 16.76 MB, free: 4.934 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.385/1.385, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0009004/0.0009003, allocations: 85.42 kB / 271.3 MB, free: 8.238 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.3281/0.3281, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004777, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.5045, allocations: 103.1 MB / 0.5807 GB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.5048, allocations: 83.94 kB / 0.5807 GB, free: 14.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4457/0.9505, allocations: 96.88 MB / 0.6754 GB, free: 86.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.9505, allocations: 3.5 kB / 0.6754 GB, free: 86.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002721/0.9508, allocations: 98.95 kB / 0.6755 GB, free: 86.47 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.02709/0.9779, allocations: 6.147 MB / 0.6815 GB, free: 85.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.978, allocations: 8.594 kB / 0.6815 GB, free: 85.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01376/0.9917, allocations: 2.844 MB / 0.6842 GB, free: 84.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/1.004, allocations: 5.987 MB / 0.6901 GB, free: 84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003915/1.005, allocations: 369.8 kB / 0.6904 GB, free: 83.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/1.007, allocations: 0.4891 MB / 0.6909 GB, free: 83.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02126/1.028, allocations: 12.53 MB / 0.7032 GB, free: 80.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001642/1.028, allocations: 75.66 kB / 0.7032 GB, free: 80.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006063/1.029, allocations: 238.4 kB / 0.7035 GB, free: 80.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/1.03, allocations: 1.242 MB / 0.7047 GB, free: 80.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/1.053, allocations: 10.64 MB / 0.7151 GB, free: 80.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05624/1.109, allocations: 57.95 MB / 0.7717 GB, free: 40.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/1.122, allocations: 5.358 MB / 0.7769 GB, free: 38.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002984/1.125, allocations: 2.478 MB / 0.7793 GB, free: 37.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/1.139, allocations: 12.25 MB / 0.7913 GB, free: 30.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/1.139, allocations: 58.88 kB / 0.7913 GB, free: 30.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=219): time 4.519e-06/1.139, allocations: 4 kB / 0.7913 GB, free: 30.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=258): time 0.05438/1.194, allocations: 24.97 MB / 0.8157 GB, free: 18.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002072/1.196, allocations: 4.625 MB / 0.8202 GB, free: 13.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006254/1.202, allocations: 4.647 MB / 0.8248 GB, free: 9.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007915/1.203, allocations: 57.7 kB / 0.8248 GB, free: 9.758 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001935/1.205, allocations: 3.528 MB / 0.8283 GB, free: 6.594 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001254/1.206, allocations: 1.021 MB / 0.8293 GB, free: 5.695 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004294/1.207, allocations: 147.9 kB / 0.8294 GB, free: 5.551 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002977/1.207, allocations: 0.6266 MB / 0.83 GB, free: 5.012 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004359/1.211, allocations: 3.233 MB / 0.8332 GB, free: 2.324 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008581/1.22, allocations: 7.663 MB / 0.8407 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/1.233, allocations: 11.32 MB / 0.8517 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001079/1.233, allocations: 44 kB / 0.8518 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02654/1.259, allocations: 13.27 MB / 0.8647 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/1.259, allocations: 68 kB / 0.8648 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2048/1.464, allocations: 6.495 MB / 0.8711 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009921/1.474, allocations: 3.33 MB / 0.8744 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005709/1.48, allocations: 1.736 MB / 0.8761 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/1.495, allocations: 15.85 MB / 0.8916 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007314/1.502, allocations: 0.7719 MB / 0.8923 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001457/1.504, allocations: 459.2 kB / 0.8927 GB, free: 96.58 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 () * Number of clocked 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.004071/1.508, allocations: 2.336 MB / 0.895 GB, free: 96.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007656/1.509, allocations: 425.1 kB / 0.8954 GB, free: 96.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.523, allocations: 7.093 MB / 0.9024 GB, free: 96.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01445/1.537, allocations: 6.437 MB / 0.9086 GB, free: 96.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.614e-05/1.538, allocations: 11.25 kB / 0.9087 GB, free: 96.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.779e-05/1.538, allocations: 12.39 kB / 0.9087 GB, free: 96.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02793/1.566, allocations: 15.42 MB / 0.9237 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/1.566, allocations: 7.062 kB / 0.9237 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/1.568, allocations: 454.5 kB / 0.9242 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008994/1.577, allocations: 3.344 MB / 0.9274 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005425/1.577, allocations: 75.11 kB / 0.9275 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/1.592, allocations: 16.49 MB / 0.9436 GB, free: 82.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001942/1.594, allocations: 4.437 MB / 0.9479 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/1.611, allocations: 10.62 MB / 0.9583 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/1.612, allocations: 497.7 kB / 0.9588 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006762/1.613, allocations: 64.7 kB / 0.9589 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002437/1.615, allocations: 342.1 kB / 0.9592 GB, free: 74.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005145/1.616, allocations: 205.6 kB / 0.9594 GB, free: 74.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.616, allocations: 84.58 kB / 0.9595 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00406/1.62, allocations: 2.903 MB / 0.9623 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/1.62, allocations: 0 / 0.9623 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0068/1.627, allocations: 1.53 MB / 0.9638 GB, free: 73.51 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 () * Number of clocked 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.0005995/1.627, allocations: 222.4 kB / 0.964 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01377/1.641, allocations: 9.366 MB / 0.9731 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.641, allocations: 3.188 kB / 0.9732 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007376/1.649, allocations: 4.647 MB / 0.9777 GB, free: 67.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007425/1.656, allocations: 0.5463 MB / 0.9782 GB, free: 67.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/1.677, allocations: 15.5 MB / 0.9934 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004981/1.682, allocations: 3.703 MB / 0.997 GB, free: 54.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006211/1.689, allocations: 2.264 MB / 0.9992 GB, free: 53.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.69, allocations: 307.2 kB / 0.9995 GB, free: 52.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/1.69, allocations: 0 / 0.9995 GB, free: 52.82 MB / 0.5105 GB Notification: Performance of Templates: time 0.08078/1.77, allocations: 56.45 MB / 1.055 GB, free: 14.36 MB / 0.5261 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/jenkins1/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