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.001486/0.001486, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.002/2.002, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001086/0.001086, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2742/0.2742, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.22e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1616, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5365/0.6982, allocations: 104.5 MB / 0.5748 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.6985, allocations: 83.06 kB / 0.5749 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5304/1.229, allocations: 127.7 MB / 0.6996 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/1.229, allocations: 0 / 0.6996 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004/1.229, allocations: 136 kB / 0.6997 GB, free: 6.953 MB / 0.4948 GB 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.02952/1.259, allocations: 6.742 MB / 0.7063 GB, free: 140 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.259, allocations: 8.031 kB / 0.7063 GB, free: 132 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3652/1.624, allocations: 2.799 MB / 0.7091 GB, free: 98.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/1.639, allocations: 3.883 MB / 0.7128 GB, free: 97.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008511/1.64, allocations: 0.5513 MB / 0.7134 GB, free: 97.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004367/1.644, allocations: 0.7369 MB / 0.7141 GB, free: 97.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.075/1.72, allocations: 20.5 MB / 0.7341 GB, free: 94.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005566/1.72, allocations: 78.19 kB / 0.7342 GB, free: 94.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003909/1.724, allocations: 346.9 kB / 0.7345 GB, free: 94.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004678/1.729, allocations: 1.955 MB / 0.7364 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06333/1.792, allocations: 17.99 MB / 0.754 GB, free: 94.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1276/1.92, allocations: 74.96 MB / 0.8272 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03827/1.958, allocations: 8.63 MB / 0.8356 GB, free: 40 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01107/1.969, allocations: 5.735 MB / 0.8412 GB, free: 34.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04532/2.015, allocations: 19.91 MB / 0.8607 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/2.015, allocations: 76.64 kB / 0.8608 GB, free: 17.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=386): time 8.496e-06/2.015, allocations: 0 / 0.8608 GB, free: 17.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=531): time 0.6632/2.678, allocations: 59.08 MB / 0.9185 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/2.678, allocations: 184.4 kB / 0.9186 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/2.689, allocations: 4.52 MB / 0.9231 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001569/2.691, allocations: 108.3 kB / 0.9232 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003902/2.695, allocations: 4.402 MB / 0.9275 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003339/2.698, allocations: 1.911 MB / 0.9293 GB, free: 98.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002152/2.7, allocations: 205 kB / 0.9295 GB, free: 98.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001004/2.701, allocations: 0.7356 MB / 0.9302 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0141/2.715, allocations: 5.476 MB / 0.9356 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01766/2.733, allocations: 10.36 MB / 0.9457 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01787/2.751, allocations: 7.515 MB / 0.953 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002077/2.751, allocations: 45.97 kB / 0.9531 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.05476/2.806, allocations: 18.33 MB / 0.971 GB, free: 84.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/2.806, allocations: 76.06 kB / 0.9711 GB, free: 84.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002925/2.807, allocations: 169.5 kB / 0.9712 GB, free: 84.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01431/2.821, allocations: 3.133 MB / 0.9743 GB, free: 83.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01785/2.839, allocations: 2.387 MB / 0.9766 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03867/2.878, allocations: 24.2 MB / 1 GB, free: 67.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01387/2.891, allocations: 0.586 MB / 1.001 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002983/2.894, allocations: 0.5597 MB / 1.001 GB, free: 67.18 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 () * 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.004471/2.899, allocations: 0.837 MB / 1.002 GB, free: 66.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002327/2.901, allocations: 0.5516 MB / 1.003 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04146/2.943, allocations: 13.19 MB / 1.016 GB, free: 58.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.93e-05/2.943, allocations: 55.95 kB / 1.016 GB, free: 58.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.147e-05/2.943, allocations: 12 kB / 1.016 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001443/2.943, allocations: 25.36 kB / 1.016 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07837/3.022, allocations: 26.05 MB / 1.041 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-05/3.022, allocations: 4 kB / 1.041 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009798/3.032, allocations: 0.8998 MB / 1.042 GB, free: 36.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01645/3.048, allocations: 3.326 MB / 1.045 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001645/3.05, allocations: 104.2 kB / 1.045 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03162/3.081, allocations: 21.08 MB / 1.066 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/3.081, allocations: 4 kB / 1.066 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06918/3.151, allocations: 21.97 MB / 1.087 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3824/3.533, allocations: 1.604 MB / 1.089 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003223/3.536, allocations: 97.97 kB / 1.089 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008856/3.545, allocations: 358.5 kB / 1.089 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002683/3.548, allocations: 345.3 kB / 1.09 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00165/3.55, allocations: 137.9 kB / 1.09 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01014/3.56, allocations: 3.103 MB / 1.093 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.52e-07/3.56, allocations: 0 / 1.093 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01479/3.575, allocations: 2.073 MB / 1.095 GB, free: 108.6 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 () * 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.002095/3.577, allocations: 293.6 kB / 1.095 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0384/3.615, allocations: 14.55 MB / 1.109 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/3.615, allocations: 2.688 kB / 1.109 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02226/3.638, allocations: 7.894 MB / 1.117 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006169/3.644, allocations: 0.5768 MB / 1.118 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05018/3.694, allocations: 17.8 MB / 1.135 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0128/3.707, allocations: 5.291 MB / 1.14 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004904/3.712, allocations: 0.5092 MB / 1.141 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/3.712, allocations: 0 / 1.141 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of Templates: time 1.53/5.242, allocations: 466.4 MB / 1.596 GB, free: 109.3 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