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.0008555/0.0008556, allocations: 179.8 kB / 16.77 MB, free: 5.047 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.279/1.279, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007242/0.0007243, allocations: 89.45 kB / 271.3 MB, free: 8.25 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.3218/0.3218, allocations: 43.55 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003774, allocations: 20 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1111, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4657, allocations: 104.7 MB / 0.5822 GB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.4659, allocations: 79.95 kB / 0.5823 GB, free: 13.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4955/0.9614, allocations: 126.6 MB / 0.7059 GB, free: 82.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.9615, allocations: 0 / 0.7059 GB, free: 82.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003605/0.9618, allocations: 132.8 kB / 0.7061 GB, free: 82.96 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.01998/0.9818, allocations: 6.538 MB / 0.7124 GB, free: 80.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.9819, allocations: 9.125 kB / 0.7125 GB, free: 80.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/0.9938, allocations: 2.652 MB / 0.715 GB, free: 79.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/1.004, allocations: 3.939 MB / 0.7189 GB, free: 78.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007316/1.005, allocations: 0.5515 MB / 0.7194 GB, free: 78.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004065/1.009, allocations: 0.735 MB / 0.7201 GB, free: 78.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04874/1.058, allocations: 20.42 MB / 0.7401 GB, free: 74.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004069/1.058, allocations: 92.75 kB / 0.7402 GB, free: 74.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00264/1.061, allocations: 348.5 kB / 0.7405 GB, free: 74.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002449/1.063, allocations: 1.951 MB / 0.7424 GB, free: 74.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03623/1.1, allocations: 17.93 MB / 0.7599 GB, free: 69.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09311/1.193, allocations: 74.86 MB / 0.833 GB, free: 8.668 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/1.213, allocations: 8.393 MB / 0.8412 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008508/1.221, allocations: 5.783 MB / 0.8469 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03294/1.254, allocations: 19.78 MB / 0.8662 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.328e-05/1.254, allocations: 73.11 kB / 0.8663 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=386): time 7.935e-06/1.254, allocations: 0 / 0.8663 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531): time 0.5551/1.809, allocations: 90.94 MB / 0.9551 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.655e-05/1.809, allocations: 181.8 kB / 0.9552 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/1.821, allocations: 5.132 MB / 0.9603 GB, free: 98.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001377/1.822, allocations: 109.2 kB / 0.9604 GB, free: 98.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003147/1.825, allocations: 4.521 MB / 0.9648 GB, free: 95.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002709/1.828, allocations: 1.918 MB / 0.9666 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/1.83, allocations: 205.1 kB / 0.9668 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009173/1.83, allocations: 0.7311 MB / 0.9676 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008774/1.839, allocations: 5.567 MB / 0.973 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01147/1.851, allocations: 10.5 MB / 0.9832 GB, free: 78.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02012/1.871, allocations: 17.37 MB / 1 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001679/1.871, allocations: 48 kB / 1 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.03647/1.908, allocations: 18.68 MB / 1.018 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003198/1.908, allocations: 76 kB / 1.019 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003452/1.908, allocations: 168.8 kB / 1.019 GB, free: 42.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0077/1.916, allocations: 3.119 MB / 1.022 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0096/1.926, allocations: 2.402 MB / 1.024 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02261/1.948, allocations: 24.25 MB / 1.048 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009197/1.958, allocations: 0.5813 MB / 1.048 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002803/1.96, allocations: 0.5568 MB / 1.049 GB, free: 10.77 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.01029/1.971, allocations: 3.331 MB / 1.052 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002158/1.973, allocations: 0.5438 MB / 1.053 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.284/2.257, allocations: 13.3 MB / 1.066 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.776e-05/2.257, allocations: 52.69 kB / 1.066 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-05/2.257, allocations: 14.59 kB / 1.066 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001141/2.257, allocations: 31.5 kB / 1.066 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04741/2.305, allocations: 26.18 MB / 1.091 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/2.305, allocations: 5.938 kB / 1.091 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005143/2.31, allocations: 0.9038 MB / 1.092 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008756/2.319, allocations: 3.33 MB / 1.095 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/2.32, allocations: 99.48 kB / 1.096 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/2.34, allocations: 21.13 MB / 1.116 GB, free: 93.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/2.34, allocations: 7.781 kB / 1.116 GB, free: 93.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0296/2.37, allocations: 20.63 MB / 1.136 GB, free: 85.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004354/2.374, allocations: 1.618 MB / 1.138 GB, free: 84.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002209/2.377, allocations: 96.19 kB / 1.138 GB, free: 84.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004733/2.381, allocations: 362.2 kB / 1.138 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/2.383, allocations: 343.9 kB / 1.139 GB, free: 84.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000695/2.383, allocations: 142.2 kB / 1.139 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006454/2.39, allocations: 3.148 MB / 1.142 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/2.39, allocations: 0 / 1.142 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01141/2.401, allocations: 2.075 MB / 1.144 GB, free: 83.12 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.001617/2.403, allocations: 278.9 kB / 1.144 GB, free: 82.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02284/2.426, allocations: 14.73 MB / 1.159 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/2.426, allocations: 3.938 kB / 1.159 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01373/2.44, allocations: 7.957 MB / 1.166 GB, free: 73.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009465/2.449, allocations: 0.6487 MB / 1.167 GB, free: 72.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03529/2.484, allocations: 22.85 MB / 1.189 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009357/2.494, allocations: 5.139 MB / 1.194 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009853/2.504, allocations: 3.214 MB / 1.197 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002807/2.507, allocations: 448.5 kB / 1.198 GB, free: 55.42 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/2.507, allocations: 3.938 kB / 1.198 GB, free: 55.42 MB / 0.5261 GB Notification: Performance of Templates: time 0.4064/2.913, allocations: 87.73 MB / 1.284 GB, free: 99.5 MB / 0.5261 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/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_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches