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.001522/0.001521, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.963/1.963, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001119/0.001119, allocations: 88.38 kB / 270.9 MB, free: 8.391 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.517/0.517, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004488, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4734/0.5932, allocations: 104.6 MB / 0.5808 GB, free: 14.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.5936, allocations: 79.95 kB / 0.5809 GB, free: 14.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8597/1.453, allocations: 127.6 MB / 0.7055 GB, free: 82.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.808e-06/1.453, allocations: 0 / 0.7055 GB, free: 82.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003625/1.454, allocations: 140.6 kB / 0.7056 GB, free: 82.94 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.03013/1.484, allocations: 6.962 MB / 0.7124 GB, free: 80.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.484, allocations: 16.91 kB / 0.7124 GB, free: 80.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.021/1.505, allocations: 2.802 MB / 0.7152 GB, free: 79.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/1.52, allocations: 3.884 MB / 0.719 GB, free: 79.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008703/1.521, allocations: 0.5538 MB / 0.7195 GB, free: 79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004555/1.525, allocations: 0.738 MB / 0.7202 GB, free: 78.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07474/1.6, allocations: 20.65 MB / 0.7404 GB, free: 74.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006139/1.601, allocations: 79.47 kB / 0.7405 GB, free: 74.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004008/1.605, allocations: 353.1 kB / 0.7408 GB, free: 74.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004573/1.609, allocations: 1.947 MB / 0.7427 GB, free: 73.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0651/1.675, allocations: 18.23 MB / 0.7605 GB, free: 68.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1469/1.822, allocations: 74.96 MB / 0.8337 GB, free: 7.547 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03987/1.861, allocations: 8.701 MB / 0.8422 GB, free: 14.69 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05063/1.912, allocations: 19.82 MB / 0.8616 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.41e-05/1.912, allocations: 81.11 kB / 0.8617 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=386): time 9.779e-06/1.912, allocations: 0 / 0.8617 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531): time 0.9529/2.865, allocations: 92.52 MB / 0.952 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/2.865, allocations: 184 kB / 0.9522 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/2.876, allocations: 4.562 MB / 0.9566 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001576/2.878, allocations: 107.5 kB / 0.9567 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003638/2.882, allocations: 4.396 MB / 0.961 GB, free: 95.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003323/2.885, allocations: 1.909 MB / 0.9629 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002348/2.887, allocations: 202.6 kB / 0.9631 GB, free: 93.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009443/2.888, allocations: 0.7407 MB / 0.9638 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01424/2.903, allocations: 5.566 MB / 0.9692 GB, free: 91.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01734/2.92, allocations: 10.46 MB / 0.9795 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01808/2.938, allocations: 7.541 MB / 0.9868 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001641/2.938, allocations: 48 kB / 0.9869 GB, free: 73.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.05444/2.993, allocations: 18.5 MB / 1.005 GB, free: 58.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/2.993, allocations: 76 kB / 1.005 GB, free: 58.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002841/2.993, allocations: 168 kB / 1.005 GB, free: 58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/3.008, allocations: 3.139 MB / 1.008 GB, free: 55.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01961/3.027, allocations: 2.39 MB / 1.011 GB, free: 52.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04579/3.073, allocations: 24.83 MB / 1.035 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01282/3.086, allocations: 0.5807 MB / 1.035 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002759/3.089, allocations: 0.5546 MB / 1.036 GB, free: 25.79 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.01027/3.099, allocations: 3.338 MB / 1.039 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002198/3.102, allocations: 0.5477 MB / 1.04 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04217/3.144, allocations: 13.28 MB / 1.053 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.768e-05/3.144, allocations: 63.8 kB / 1.053 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.937e-05/3.144, allocations: 12 kB / 1.053 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001394/3.144, allocations: 23.91 kB / 1.053 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4501/3.594, allocations: 26.12 MB / 1.078 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.082e-05/3.594, allocations: 2.438 kB / 1.078 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00979/3.604, allocations: 0.8998 MB / 1.079 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01689/3.621, allocations: 3.34 MB / 1.082 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001553/3.623, allocations: 99.45 kB / 1.083 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03394/3.657, allocations: 21.68 MB / 1.104 GB, free: 97.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/3.657, allocations: 4.5 kB / 1.104 GB, free: 97.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0597/3.716, allocations: 21.21 MB / 1.124 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006142/3.723, allocations: 1.607 MB / 1.126 GB, free: 88.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002723/3.725, allocations: 95.89 kB / 1.126 GB, free: 88.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007921/3.733, allocations: 359.4 kB / 1.126 GB, free: 88.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002178/3.736, allocations: 342.7 kB / 1.127 GB, free: 88.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008647/3.736, allocations: 145 kB / 1.127 GB, free: 88.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007837/3.744, allocations: 3.146 MB / 1.13 GB, free: 87.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.31e-07/3.744, allocations: 0 / 1.13 GB, free: 87.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01259/3.757, allocations: 2.082 MB / 1.132 GB, free: 87.44 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.001913/3.759, allocations: 284.6 kB / 1.132 GB, free: 87.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03469/3.794, allocations: 14.72 MB / 1.147 GB, free: 81.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/3.794, allocations: 0 / 1.147 GB, free: 81.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02215/3.816, allocations: 7.967 MB / 1.154 GB, free: 77.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005373/3.821, allocations: 0.5621 MB / 1.155 GB, free: 77.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05591/3.877, allocations: 23.55 MB / 1.178 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01322/3.891, allocations: 5.3 MB / 1.183 GB, free: 63.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004945/3.895, allocations: 0.5019 MB / 1.184 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/3.896, allocations: 3.656 kB / 1.184 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of Templates: time 1.568/5.463, allocations: 466.3 MB / 1.639 GB, free: 45.5 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