Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 179 kB / 18.09 MB, free: 3.633 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.349/1.349, allocations: 223.3 MB / 242.1 MB, free: 9.945 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.0009125/0.0009127, allocations: 102 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3492/0.3492, allocations: 44.14 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004205, allocations: 12 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3729, allocations: 61.88 MB / 0.5107 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.5073, allocations: 104.8 MB / 0.6131 GB, free: 6.223 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.5075, allocations: 83.94 kB / 0.6132 GB, free: 6.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5005/1.008, allocations: 97.93 MB / 0.7088 GB, free: 93.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.176e-06/1.008, allocations: 0 / 0.7088 GB, free: 93.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004796/1.009, allocations: 97.23 kB / 0.7089 GB, free: 93.92 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.03175/1.04, allocations: 6.114 MB / 0.7149 GB, free: 91.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.04, allocations: 8.188 kB / 0.7149 GB, free: 91.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/1.055, allocations: 2.84 MB / 0.7177 GB, free: 91.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01563/1.071, allocations: 5.554 MB / 0.7231 GB, free: 90.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006803/1.071, allocations: 371.8 kB / 0.7234 GB, free: 90.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003055/1.075, allocations: 0.4892 MB / 0.7239 GB, free: 90.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03247/1.107, allocations: 12.52 MB / 0.7361 GB, free: 85.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005129/1.108, allocations: 76.45 kB / 0.7362 GB, free: 85.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002909/1.111, allocations: 239.8 kB / 0.7364 GB, free: 85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002165/1.113, allocations: 1.24 MB / 0.7377 GB, free: 84.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02249/1.135, allocations: 10.65 MB / 0.7481 GB, free: 81.63 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06873/1.204, allocations: 57.89 MB / 0.8046 GB, free: 36.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/1.217, allocations: 5.355 MB / 0.8098 GB, free: 31.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003366/1.22, allocations: 2.47 MB / 0.8122 GB, free: 28.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01849/1.239, allocations: 12.23 MB / 0.8242 GB, free: 16.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/1.239, allocations: 67.55 kB / 0.8242 GB, free: 15.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=219): time 5.129e-06/1.239, allocations: 3.938 kB / 0.8242 GB, free: 15.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=258): time 0.06404/1.303, allocations: 24.82 MB / 0.8485 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003753/1.307, allocations: 4.625 MB / 0.853 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/1.318, allocations: 4.597 MB / 0.8575 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.32, allocations: 57.7 kB / 0.8575 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003493/1.323, allocations: 3.525 MB / 0.861 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002016/1.325, allocations: 1.016 MB / 0.862 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/1.326, allocations: 148 kB / 0.8621 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008079/1.327, allocations: 0.6243 MB / 0.8627 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006858/1.334, allocations: 3.231 MB / 0.8659 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/1.345, allocations: 7.507 MB / 0.8732 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3172/1.662, allocations: 11.33 MB / 0.8843 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001472/1.662, allocations: 42.22 kB / 0.8843 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02685/1.689, allocations: 13.25 MB / 0.8973 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.997e-05/1.689, allocations: 69.25 kB / 0.8973 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01292/1.702, allocations: 6.502 MB / 0.9037 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/1.713, allocations: 3.333 MB / 0.9069 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006985/1.72, allocations: 1.733 MB / 0.9086 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01934/1.74, allocations: 15.86 MB / 0.9241 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008327/1.748, allocations: 0.7802 MB / 0.9249 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001851/1.75, allocations: 457.9 kB / 0.9253 GB, free: 114.7 MB / 0.5261 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.005578/1.756, allocations: 2.326 MB / 0.9276 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/1.757, allocations: 415.6 kB / 0.928 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/1.77, allocations: 7.104 MB / 0.9349 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01118/1.781, allocations: 6.435 MB / 0.9412 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.819e-05/1.781, allocations: 6.875 kB / 0.9412 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/1.781, allocations: 14.69 kB / 0.9412 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02789/1.809, allocations: 15.41 MB / 0.9563 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.809, allocations: 3.375 kB / 0.9563 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/1.811, allocations: 449.7 kB / 0.9567 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00862/1.819, allocations: 3.346 MB / 0.96 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003117/1.82, allocations: 80.62 kB / 0.96 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/1.835, allocations: 16.49 MB / 0.9761 GB, free: 94.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002045/1.837, allocations: 4.433 MB / 0.9805 GB, free: 89.74 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/1.854, allocations: 10.63 MB / 0.9908 GB, free: 82.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.855, allocations: 492.7 kB / 0.9913 GB, free: 81.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.856, allocations: 67.69 kB / 0.9914 GB, free: 81.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003193/1.859, allocations: 346.1 kB / 0.9917 GB, free: 81.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006701/1.86, allocations: 206.6 kB / 0.9919 GB, free: 81.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002754/1.86, allocations: 80.06 kB / 0.992 GB, free: 81.49 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005596/1.866, allocations: 2.877 MB / 0.9948 GB, free: 79.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/1.866, allocations: 0 / 0.9948 GB, free: 79.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008783/1.875, allocations: 1.541 MB / 0.9963 GB, free: 77.52 MB / 0.5261 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.001005/1.876, allocations: 215.5 kB / 0.9965 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01578/1.892, allocations: 9.371 MB / 1.006 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.892, allocations: 384 / 1.006 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007709/1.899, allocations: 4.65 MB / 1.01 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007459/1.907, allocations: 0.5444 MB / 1.011 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02567/1.933, allocations: 15.46 MB / 1.026 GB, free: 47.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005204/1.938, allocations: 3.693 MB / 1.029 GB, free: 43.35 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005503/1.943, allocations: 2.258 MB / 1.032 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009959/1.944, allocations: 303.3 kB / 1.032 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/1.944, allocations: 0 / 1.032 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.3433/2.288, allocations: 56.33 MB / 1.087 GB, free: 128.9 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring2/Spring2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches