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.0009583/0.0009583, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.247/1.247, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009792/0.000979, allocations: 84 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1788/0.1788, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.706e-05/3.734e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3771/0.495, allocations: 104.6 MB / 0.6039 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.4953, allocations: 75.95 kB / 0.604 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2407/0.736, allocations: 99.7 MB / 0.7013 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/0.736, allocations: 0 / 0.7013 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001815/0.7362, allocations: 92 kB / 0.7014 GB, free: 12.12 MB / 0.5105 GB 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.02466/0.7609, allocations: 5.914 MB / 0.7072 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.761, allocations: 15.97 kB / 0.7072 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.7759, allocations: 2.934 MB / 0.7101 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3006/1.076, allocations: 6.809 MB / 0.7167 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005691/1.077, allocations: 371.9 kB / 0.7171 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00274/1.08, allocations: 498.1 kB / 0.7176 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02801/1.108, allocations: 12.45 MB / 0.7297 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/1.108, allocations: 79.7 kB / 0.7298 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008508/1.109, allocations: 237.3 kB / 0.73 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002058/1.111, allocations: 1.241 MB / 0.7312 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02055/1.132, allocations: 10.47 MB / 0.7415 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05371/1.185, allocations: 57.96 MB / 0.7981 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/1.198, allocations: 5.335 MB / 0.8033 GB, free: 72.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003145/1.201, allocations: 2.443 MB / 0.8057 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01375/1.215, allocations: 12.31 MB / 0.8177 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.215, allocations: 50.94 kB / 0.8177 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=219): time 4.729e-06/1.215, allocations: 3.875 kB / 0.8177 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=258): time 0.05043/1.266, allocations: 21.13 MB / 0.8384 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002837/1.268, allocations: 4.614 MB / 0.8429 GB, free: 47.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007768/1.276, allocations: 3.971 MB / 0.8468 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006716/1.277, allocations: 61.7 kB / 0.8468 GB, free: 44.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001961/1.279, allocations: 3.517 MB / 0.8502 GB, free: 41.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00128/1.28, allocations: 1.016 MB / 0.8512 GB, free: 40.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007737/1.281, allocations: 151.8 kB / 0.8514 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004193/1.281, allocations: 0.6263 MB / 0.852 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004055/1.286, allocations: 3.085 MB / 0.855 GB, free: 36.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005977/1.292, allocations: 7.346 MB / 0.8622 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005859/1.297, allocations: 4.678 MB / 0.8667 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/1.298, allocations: 44 kB / 0.8668 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02598/1.324, allocations: 12.96 MB / 0.8794 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/1.324, allocations: 73.44 kB / 0.8795 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01301/1.337, allocations: 6.46 MB / 0.8858 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/1.347, allocations: 3.346 MB / 0.8891 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005646/1.353, allocations: 1.735 MB / 0.8908 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/1.371, allocations: 15.83 MB / 0.9062 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007908/1.379, allocations: 0.776 MB / 0.907 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001819/1.381, allocations: 455.8 kB / 0.9074 GB, free: 1.09 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 () * 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.002909/1.384, allocations: 0.6534 MB / 0.9081 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/1.385, allocations: 414.7 kB / 0.9085 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2917/1.677, allocations: 7.061 MB / 0.9154 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0151/1.692, allocations: 6.396 MB / 0.9216 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.061e-05/1.692, allocations: 7.875 kB / 0.9216 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001116/1.692, allocations: 15.3 kB / 0.9216 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02966/1.722, allocations: 15.36 MB / 0.9366 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.201e-05/1.722, allocations: 7.844 kB / 0.9366 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.724, allocations: 445.3 kB / 0.9371 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009379/1.733, allocations: 3.335 MB / 0.9403 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004896/1.734, allocations: 79.61 kB / 0.9404 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01484/1.749, allocations: 16.48 MB / 0.9565 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001987/1.751, allocations: 4.422 MB / 0.9608 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01667/1.768, allocations: 11.24 MB / 0.9718 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/1.769, allocations: 491.7 kB / 0.9723 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.77, allocations: 69.27 kB / 0.9723 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/1.773, allocations: 341.2 kB / 0.9726 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007006/1.774, allocations: 200.8 kB / 0.9728 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.774, allocations: 94.06 kB / 0.9729 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004194/1.778, allocations: 2.741 MB / 0.9756 GB, free: 99.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/1.778, allocations: 0 / 0.9756 GB, free: 99.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006607/1.785, allocations: 1.53 MB / 0.9771 GB, free: 99.53 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 () * 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.0005893/1.786, allocations: 222.3 kB / 0.9773 GB, free: 99.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01313/1.799, allocations: 9.171 MB / 0.9863 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.799, allocations: 3.844 kB / 0.9863 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00752/1.806, allocations: 4.606 MB / 0.9908 GB, free: 94.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/1.809, allocations: 0.5114 MB / 0.9913 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/1.825, allocations: 11.5 MB / 1.002 GB, free: 89.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004429/1.83, allocations: 3.796 MB / 1.006 GB, free: 87.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005177/1.835, allocations: 2.262 MB / 1.008 GB, free: 86.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008494/1.836, allocations: 306.7 kB / 1.009 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/1.836, allocations: 0 / 1.009 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.07469/1.91, allocations: 56.17 MB / 1.064 GB, free: 35.52 MB / 0.5261 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/jenkins/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