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.001028/0.001028, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008602/0.0008602, allocations: 86.64 kB / 261.8 MB, free: 1.684 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.1829/0.1829, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.221e-05/1.223e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09803, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3544/0.4524, allocations: 102.2 MB / 0.5658 GB, free: 9.344 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.4527, allocations: 83.08 kB / 0.5659 GB, free: 9.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2395/0.6923, allocations: 96.61 MB / 0.6602 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6923, allocations: 0 / 0.6602 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002773/0.6926, allocations: 95.98 kB / 0.6603 GB, free: 0.6484 MB / 458.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.02622/0.7188, allocations: 5.926 MB / 0.6661 GB, free: 10.65 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.7189, allocations: 12.03 kB / 0.6661 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01504/0.7339, allocations: 2.938 MB / 0.669 GB, free: 7.691 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01729/0.7513, allocations: 7.247 MB / 0.676 GB, free: 388 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/0.7516, allocations: 156 kB / 0.6762 GB, free: 232 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002062/0.7537, allocations: 295.8 kB / 0.6765 GB, free: 15.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01292/0.7666, allocations: 7.325 MB / 0.6836 GB, free: 8.605 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02276/0.7894, allocations: 10.93 MB / 0.6943 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002399/0.7897, allocations: 75.33 kB / 0.6944 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001129/0.7908, allocations: 36 kB / 0.6944 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00192/0.7928, allocations: 1.241 MB / 0.6956 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3111/1.104, allocations: 57.04 MB / 0.7513 GB, free: 80.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005202/1.109, allocations: 3.608 MB / 0.7549 GB, free: 79.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/1.112, allocations: 2.293 MB / 0.7571 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/1.113, allocations: 1.657 MB / 0.7587 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/1.113, allocations: 56.12 kB / 0.7588 GB, free: 78.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=226): time 5.47e-06/1.113, allocations: 0 / 0.7588 GB, free: 78.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=259): time 0.03941/1.153, allocations: 20.67 MB / 0.779 GB, free: 73.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/1.153, allocations: 261 kB / 0.7792 GB, free: 73.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005061/1.158, allocations: 3.487 MB / 0.7826 GB, free: 73.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008121/1.159, allocations: 28.05 kB / 0.7826 GB, free: 73.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001989/1.161, allocations: 3.572 MB / 0.7861 GB, free: 71.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/1.162, allocations: 0.9988 MB / 0.7871 GB, free: 70.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/1.162, allocations: 3.875 kB / 0.7871 GB, free: 70.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002997/1.163, allocations: 0.6247 MB / 0.7877 GB, free: 69.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/1.166, allocations: 2.971 MB / 0.7906 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005237/1.171, allocations: 7.331 MB / 0.7978 GB, free: 62.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005153/1.176, allocations: 4.569 MB / 0.8022 GB, free: 60.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.409e-05/1.177, allocations: 45.94 kB / 0.8023 GB, free: 60.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1009) (initialization): time 0.02221/1.199, allocations: 12.07 MB / 0.8141 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/1.199, allocations: 69.75 kB / 0.8141 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01176/1.211, allocations: 6.254 MB / 0.8202 GB, free: 55.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009668/1.22, allocations: 3.278 MB / 0.8234 GB, free: 55.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005861/1.226, allocations: 1.769 MB / 0.8252 GB, free: 54.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/1.24, allocations: 15.06 MB / 0.8399 GB, free: 40.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007633/1.248, allocations: 0.6324 MB / 0.8405 GB, free: 39.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001891/1.25, allocations: 472.9 kB / 0.8409 GB, free: 39.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * 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 (930): * Single equations (assignments): 910 * 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.002379/1.252, allocations: 0.491 MB / 0.8414 GB, free: 38.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009291/1.253, allocations: 394.9 kB / 0.8418 GB, free: 38.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/1.266, allocations: 6.798 MB / 0.8484 GB, free: 33.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01182/1.278, allocations: 6.147 MB / 0.8544 GB, free: 28.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.764e-05/1.278, allocations: 19.95 kB / 0.8545 GB, free: 28.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-05/1.278, allocations: 11.06 kB / 0.8545 GB, free: 28.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02865/1.307, allocations: 14.76 MB / 0.8689 GB, free: 16.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.307, allocations: 4 kB / 0.8689 GB, free: 16.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/1.309, allocations: 451.6 kB / 0.8693 GB, free: 16.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009174/1.318, allocations: 3.266 MB / 0.8725 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005871/1.319, allocations: 55.92 kB / 0.8726 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01652/1.335, allocations: 16 MB / 0.8882 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003142/1.338, allocations: 4.239 MB / 0.8923 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2858/1.624, allocations: 10.79 MB / 0.9029 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.626, allocations: 453.6 kB / 0.9033 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007342/1.626, allocations: 30.58 kB / 0.9033 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002726/1.629, allocations: 300.7 kB / 0.9036 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005228/1.63, allocations: 196.8 kB / 0.9038 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/1.63, allocations: 77.25 kB / 0.9039 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003741/1.634, allocations: 2.311 MB / 0.9061 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.1e-07/1.634, allocations: 6.312 kB / 0.9061 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007072/1.641, allocations: 1.404 MB / 0.9075 GB, free: 118.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 36 ($STATESET13.x[3],$STATESET13.x[2],$STATESET13.x[1],$STATESET12.x[3],$STATESET12.x[2],$STATESET12.x[1],$STATESET11.x[3],$STATESET11.x[2],$STATESET11.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 (195): * Single equations (assignments): 181 * 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.0005772/1.641, allocations: 185.5 kB / 0.9077 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01473/1.656, allocations: 8.817 MB / 0.9163 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.656, allocations: 3.875 kB / 0.9163 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007231/1.663, allocations: 4.517 MB / 0.9207 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.666, allocations: 420.9 kB / 0.9211 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/1.683, allocations: 11.34 MB / 0.9322 GB, free: 113 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003406/1.686, allocations: 3.796 MB / 0.9359 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005089/1.691, allocations: 2.321 MB / 0.9381 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007312/1.692, allocations: 286 kB / 0.9384 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/1.692, allocations: 4 kB / 0.9384 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.07409/1.766, allocations: 50.84 MB / 0.9881 GB, free: 99.57 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