Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.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.SpringDamperParallel,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pm3.r_0.1.|pm3.r_0.2.|pm3.r_0.3.|pm3.v_0.1.|pm3.v_0.2.|pm3.v_0.3.|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperParallel,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pm3.r_0.1.|pm3.r_0.2.|pm3.r_0.3.|pm3.v_0.1.|pm3.v_0.2.|pm3.v_0.3.|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 178.2 kB / 17.41 MB, free: 4.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.766/2.766, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.001082/0.001081, allocations: 98.34 kB / 271.9 MB, free: 8.242 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.5695/0.5695, allocations: 43.55 MB / 363.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006707/0.0006709, allocations: 19.98 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2205, allocations: 58.84 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5718/0.7926, allocations: 104.7 MB / 0.5822 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.7929, allocations: 71.97 kB / 0.5822 GB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8419/1.635, allocations: 126.6 MB / 0.7059 GB, free: 82.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.009e-06/1.635, allocations: 0 / 0.7059 GB, free: 82.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007426/1.636, allocations: 136.2 kB / 0.706 GB, free: 82.84 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: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.03528/1.671, allocations: 6.545 MB / 0.7124 GB, free: 80.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/1.671, allocations: 9.344 kB / 0.7124 GB, free: 80.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0205/1.692, allocations: 2.647 MB / 0.715 GB, free: 79.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/1.709, allocations: 3.948 MB / 0.7189 GB, free: 78.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001561/1.71, allocations: 0.5531 MB / 0.7194 GB, free: 78.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005576/1.716, allocations: 0.7327 MB / 0.7201 GB, free: 78.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08573/1.802, allocations: 20.42 MB / 0.7401 GB, free: 74.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009778/1.803, allocations: 81.27 kB / 0.7401 GB, free: 74.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005438/1.808, allocations: 353.1 kB / 0.7405 GB, free: 74.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005406/1.814, allocations: 1.953 MB / 0.7424 GB, free: 73.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07076/1.884, allocations: 17.93 MB / 0.7599 GB, free: 69.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1533/2.038, allocations: 74.86 MB / 0.833 GB, free: 9.008 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04075/2.079, allocations: 8.385 MB / 0.8412 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01533/2.094, allocations: 5.788 MB / 0.8468 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06178/2.156, allocations: 19.78 MB / 0.8662 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/2.156, allocations: 81.09 kB / 0.8662 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=386): time 1.578e-05/2.156, allocations: 0 / 0.8662 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531): time 1.032/3.188, allocations: 90.93 MB / 0.955 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/3.188, allocations: 186.6 kB / 0.9552 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02072/3.209, allocations: 5.135 MB / 0.9602 GB, free: 98.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002478/3.212, allocations: 107.8 kB / 0.9603 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006708/3.218, allocations: 4.516 MB / 0.9647 GB, free: 95.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005815/3.224, allocations: 1.916 MB / 0.9666 GB, free: 94.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003089/3.227, allocations: 201.2 kB / 0.9668 GB, free: 93.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001934/3.229, allocations: 0.7331 MB / 0.9675 GB, free: 93.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01723/3.247, allocations: 5.575 MB / 0.973 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02266/3.269, allocations: 10.5 MB / 0.9832 GB, free: 78.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03974/3.309, allocations: 17.36 MB / 1 GB, free: 60.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005241/3.31, allocations: 48 kB / 1 GB, free: 60.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.06664/3.377, allocations: 18.69 MB / 1.018 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004328/3.377, allocations: 76 kB / 1.019 GB, free: 43.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006363/3.378, allocations: 168.8 kB / 1.019 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01425/3.392, allocations: 3.107 MB / 1.022 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01674/3.409, allocations: 2.402 MB / 1.024 GB, free: 37.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04079/3.45, allocations: 24.26 MB / 1.048 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01672/3.467, allocations: 0.5804 MB / 1.048 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004602/3.471, allocations: 0.5634 MB / 1.049 GB, free: 11.08 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 768 * Number of states: 0 () * Number of discrete variables: 72 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],springDamperParallel2.color_b[3],springDamperParallel2.color_b[2],springDamperParallel2.color_b[1],springDamperParallel2.color_a[3],springDamperParallel2.color_a[2],springDamperParallel2.color_a[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],springDamperParallel1.color_b[3],springDamperParallel1.color_b[2],springDamperParallel1.color_b[1],springDamperParallel1.color_a[3],springDamperParallel1.color_a[2],springDamperParallel1.color_a[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.color[1],springDamperParallel.color_b[3],springDamperParallel.color_b[2],springDamperParallel.color_b[1],springDamperParallel.color_a[3],springDamperParallel.color_a[2],springDamperParallel.color_a[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 (1230): * Single equations (assignments): 1217 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01823/3.49, allocations: 3.328 MB / 1.052 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003881/3.493, allocations: 0.5469 MB / 1.053 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5544/4.048, allocations: 13.3 MB / 1.066 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001965/4.048, allocations: 57.38 kB / 1.066 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000161/4.048, allocations: 12.69 kB / 1.066 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002503/4.049, allocations: 30.05 kB / 1.066 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09382/4.143, allocations: 26.17 MB / 1.091 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002067/4.143, allocations: 10.09 kB / 1.091 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009533/4.152, allocations: 0.8963 MB / 1.092 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01816/4.171, allocations: 3.341 MB / 1.095 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002287/4.173, allocations: 99.59 kB / 1.096 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04125/4.214, allocations: 21.13 MB / 1.116 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-05/4.214, allocations: 4.375 kB / 1.116 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06917/4.284, allocations: 20.63 MB / 1.136 GB, free: 85.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008869/4.293, allocations: 1.607 MB / 1.138 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004806/4.297, allocations: 102.1 kB / 1.138 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009932/4.307, allocations: 354 kB / 1.138 GB, free: 84.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003925/4.311, allocations: 349.7 kB / 1.139 GB, free: 84.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00221/4.314, allocations: 137.6 kB / 1.139 GB, free: 84.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01323/4.327, allocations: 3.152 MB / 1.142 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.088e-06/4.327, allocations: 0 / 1.142 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02184/4.349, allocations: 2.079 MB / 1.144 GB, free: 82.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[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 (448): * Single equations (assignments): 430 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003517/4.353, allocations: 283.7 kB / 1.144 GB, free: 82.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04329/4.396, allocations: 14.73 MB / 1.159 GB, free: 77.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/4.396, allocations: 3.781 kB / 1.159 GB, free: 77.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02563/4.422, allocations: 7.968 MB / 1.166 GB, free: 73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01883/4.441, allocations: 0.6454 MB / 1.167 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08014/4.521, allocations: 23.65 MB / 1.19 GB, free: 60.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02125/4.542, allocations: 5.152 MB / 1.195 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006806/4.549, allocations: 0.4978 MB / 1.196 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of SimCode: time 2.073e-06/4.549, allocations: 0 / 1.196 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of Templates: time 2.489/7.038, allocations: 498.5 MB / 1.682 GB, free: 141.9 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperParallel/SpringDamperParallel.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches