Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001187/0.001187, allocations: 184.3 kB / 15.76 MB, free: 6.363 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.822/1.822, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001096/0.001096, allocations: 98.84 kB / 270.2 MB, free: 13.36 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.2109/0.2109, allocations: 43.56 MB / 362 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4171/0.559, allocations: 104.6 MB / 0.5809 GB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.5592, allocations: 82.52 kB / 0.581 GB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3106/0.8698, allocations: 127.6 MB / 0.7055 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8698, allocations: 0 / 0.7055 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003311/0.8702, allocations: 140 kB / 0.7057 GB, free: 3.184 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.4895/1.36, allocations: 6.949 MB / 0.7124 GB, free: 96.73 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.36, allocations: 12.66 kB / 0.7125 GB, free: 96.73 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/1.373, allocations: 2.801 MB / 0.7152 GB, free: 96.26 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/1.385, allocations: 3.891 MB / 0.719 GB, free: 95.95 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007961/1.386, allocations: 0.5557 MB / 0.7195 GB, free: 95.93 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004111/1.39, allocations: 0.7394 MB / 0.7203 GB, free: 95.92 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0476/1.438, allocations: 20.64 MB / 0.7404 GB, free: 92.55 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002991/1.438, allocations: 89.55 kB / 0.7405 GB, free: 92.55 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/1.44, allocations: 345.1 kB / 0.7408 GB, free: 92.55 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00225/1.442, allocations: 1.957 MB / 0.7427 GB, free: 92.52 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04086/1.483, allocations: 18.22 MB / 0.7605 GB, free: 92.46 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08961/1.572, allocations: 74.95 MB / 0.8337 GB, free: 43.16 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02129/1.594, allocations: 8.706 MB / 0.8422 GB, free: 36.08 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02701/1.621, allocations: 19.84 MB / 0.8616 GB, free: 18.88 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.09e-05/1.621, allocations: 78.83 kB / 0.8617 GB, free: 18.79 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=386): time 9.338e-06/1.621, allocations: 0 / 0.8617 GB, free: 18.79 MB / 0.4949 GB Notification: Performance of matching and sorting (n=531): time 0.5843/2.205, allocations: 92.51 MB / 0.952 GB, free: 121.2 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/2.206, allocations: 182.2 kB / 0.9522 GB, free: 121.1 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009022/2.215, allocations: 4.569 MB / 0.9566 GB, free: 120.7 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001835/2.216, allocations: 108.7 kB / 0.9568 GB, free: 120.6 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004789/2.221, allocations: 4.523 MB / 0.9612 GB, free: 118.1 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.004094/2.225, allocations: 1.911 MB / 0.963 GB, free: 117 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002456/2.228, allocations: 199.8 kB / 0.9632 GB, free: 117 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001373/2.229, allocations: 0.7368 MB / 0.9639 GB, free: 116.6 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01308/2.242, allocations: 5.558 MB / 0.9694 GB, free: 115.7 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01661/2.259, allocations: 10.46 MB / 0.9796 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/2.27, allocations: 7.549 MB / 0.987 GB, free: 104.3 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001917/2.271, allocations: 45.22 kB / 0.987 GB, free: 104.3 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.03445/2.305, allocations: 18.66 MB / 1.005 GB, free: 97.94 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001628/2.305, allocations: 79.06 kB / 1.005 GB, free: 97.94 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002677/2.306, allocations: 171.8 kB / 1.005 GB, free: 97.94 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007907/2.314, allocations: 3.135 MB / 1.009 GB, free: 97.17 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009356/2.323, allocations: 2.387 MB / 1.011 GB, free: 96.91 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02315/2.346, allocations: 24.84 MB / 1.035 GB, free: 74.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009029/2.355, allocations: 0.5739 MB / 1.036 GB, free: 74.34 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002718/2.358, allocations: 0.5669 MB / 1.036 GB, free: 73.8 MB / 0.5262 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.009648/2.368, allocations: 3.336 MB / 1.039 GB, free: 70.86 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001887/2.37, allocations: 0.5438 MB / 1.04 GB, free: 70.3 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02418/2.394, allocations: 13.29 MB / 1.053 GB, free: 59.3 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/2.394, allocations: 56 kB / 1.053 GB, free: 59.24 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.073e-05/2.394, allocations: 12 kB / 1.053 GB, free: 59.23 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.818e-05/2.394, allocations: 25.36 kB / 1.053 GB, free: 59.23 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0469/2.441, allocations: 26.13 MB / 1.079 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.17e-05/2.441, allocations: 8.031 kB / 1.079 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005183/2.446, allocations: 0.8929 MB / 1.079 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009042/2.455, allocations: 3.335 MB / 1.083 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001505/2.457, allocations: 99.98 kB / 1.083 GB, free: 33.89 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/2.475, allocations: 21.68 MB / 1.104 GB, free: 11.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/2.475, allocations: 6.531 kB / 1.104 GB, free: 11.2 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2631/2.738, allocations: 21.21 MB / 1.125 GB, free: 109.8 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004964/2.743, allocations: 1.609 MB / 1.126 GB, free: 109.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001639/2.745, allocations: 96.61 kB / 1.126 GB, free: 109.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005208/2.75, allocations: 355.9 kB / 1.127 GB, free: 109.7 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/2.752, allocations: 352.1 kB / 1.127 GB, free: 109.7 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004477/2.752, allocations: 134 kB / 1.127 GB, free: 109.7 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.004634/2.757, allocations: 3.152 MB / 1.13 GB, free: 109.5 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.4e-07/2.757, allocations: 0 / 1.13 GB, free: 109.5 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01022/2.767, allocations: 2.077 MB / 1.132 GB, free: 109.5 MB / 0.5262 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.001358/2.768, allocations: 277.5 kB / 1.133 GB, free: 109.4 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02202/2.79, allocations: 14.71 MB / 1.147 GB, free: 108.2 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/2.79, allocations: 1.594 kB / 1.147 GB, free: 108.2 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01193/2.802, allocations: 7.956 MB / 1.155 GB, free: 105.7 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/2.806, allocations: 0.5716 MB / 1.155 GB, free: 105.4 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03682/2.843, allocations: 22.78 MB / 1.177 GB, free: 94.27 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006449/2.85, allocations: 5.289 MB / 1.183 GB, free: 92.54 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.008491/2.858, allocations: 3.218 MB / 1.186 GB, free: 92.33 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002564/2.861, allocations: 444.7 kB / 1.186 GB, free: 92.31 MB / 0.5262 GB Notification: Performance of SimCode: time 1.042e-06/2.861, allocations: 0 / 1.186 GB, free: 92.31 MB / 0.5262 GB Notification: Performance of Templates: time 0.12/2.981, allocations: 87.46 MB / 1.272 GB, free: 26.58 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches