Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008412/0.0008412, allocations: 91.39 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2957/0.2957, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002817, allocations: 8 kB / 459.9 MB, free: 1.488 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2547, allocations: 61.89 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.3728, allocations: 105.9 MB / 0.6129 GB, free: 5.215 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.373, allocations: 83.92 kB / 0.613 GB, free: 5.137 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4844/0.8574, allocations: 129.2 MB / 0.7392 GB, free: 89.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.8574, allocations: 3.328 kB / 0.7392 GB, free: 89.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002684/0.8577, allocations: 138.9 kB / 0.7393 GB, free: 89.13 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.01707/0.8748, allocations: 6.943 MB / 0.7461 GB, free: 85.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.8748, allocations: 10.69 kB / 0.7461 GB, free: 85.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.8852, allocations: 2.806 MB / 0.7488 GB, free: 85.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008144/0.8934, allocations: 3.886 MB / 0.7526 GB, free: 83.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003884/0.8938, allocations: 0.5497 MB / 0.7532 GB, free: 82.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002755/0.8966, allocations: 0.7413 MB / 0.7539 GB, free: 82.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04248/0.9391, allocations: 20.64 MB / 0.7741 GB, free: 69.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004903/0.9396, allocations: 87.17 kB / 0.7741 GB, free: 69.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002882/0.9425, allocations: 347.8 kB / 0.7745 GB, free: 69.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002663/0.9452, allocations: 1.949 MB / 0.7764 GB, free: 67.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03567/0.9809, allocations: 18.22 MB / 0.7942 GB, free: 48.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08454/1.065, allocations: 74.96 MB / 0.8674 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2551/1.321, allocations: 8.69 MB / 0.8759 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02886/1.35, allocations: 19.83 MB / 0.8952 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/1.35, allocations: 76.61 kB / 0.8953 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=386): time 8.316e-06/1.35, allocations: 0 / 0.8953 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531): time 0.2892/1.639, allocations: 92.5 MB / 0.9856 GB, free: 66.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/1.639, allocations: 183.8 kB / 0.9858 GB, free: 66.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008741/1.648, allocations: 4.557 MB / 0.9903 GB, free: 61.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001574/1.649, allocations: 113.7 kB / 0.9904 GB, free: 61.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002745/1.652, allocations: 4.522 MB / 0.9948 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002342/1.655, allocations: 1.904 MB / 0.9966 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/1.656, allocations: 204 kB / 0.9968 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006456/1.657, allocations: 0.7358 MB / 0.9976 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007307/1.664, allocations: 5.564 MB / 1.003 GB, free: 48.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00959/1.674, allocations: 10.45 MB / 1.013 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/1.684, allocations: 7.541 MB / 1.021 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002382/1.684, allocations: 53.97 kB / 1.021 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.03386/1.718, allocations: 18.66 MB / 1.039 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000186/1.719, allocations: 80.25 kB / 1.039 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000245/1.719, allocations: 172 kB / 1.039 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00771/1.726, allocations: 3.138 MB / 1.042 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009233/1.736, allocations: 2.39 MB / 1.044 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02769/1.763, allocations: 24.85 MB / 1.069 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2738/2.037, allocations: 0.5661 MB / 1.069 GB, free: 124.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002399/2.04, allocations: 0.5617 MB / 1.07 GB, free: 124.1 MB / 0.5417 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.007513/2.047, allocations: 3.32 MB / 1.073 GB, free: 124 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/2.048, allocations: 0.5415 MB / 1.074 GB, free: 124 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02082/2.069, allocations: 13.29 MB / 1.087 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.25e-05/2.069, allocations: 55.11 kB / 1.087 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.04e-05/2.069, allocations: 12.28 kB / 1.087 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.854e-05/2.07, allocations: 23.3 kB / 1.087 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05105/2.121, allocations: 26.11 MB / 1.112 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.863e-05/2.121, allocations: 4.938 kB / 1.112 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005091/2.126, allocations: 0.9005 MB / 1.113 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008948/2.135, allocations: 3.343 MB / 1.116 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001511/2.136, allocations: 99.25 kB / 1.116 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/2.155, allocations: 21.66 MB / 1.138 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/2.155, allocations: 10.58 kB / 1.138 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0346/2.189, allocations: 21.2 MB / 1.158 GB, free: 91.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002158/2.191, allocations: 0.5828 MB / 1.159 GB, free: 91.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002663/2.194, allocations: 100.4 kB / 1.159 GB, free: 91.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004774/2.199, allocations: 359.1 kB / 1.159 GB, free: 91.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/2.2, allocations: 348.1 kB / 1.16 GB, free: 91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007451/2.201, allocations: 137.8 kB / 1.16 GB, free: 90.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005845/2.207, allocations: 3.137 MB / 1.163 GB, free: 89.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.41e-07/2.207, allocations: 3.938 kB / 1.163 GB, free: 89.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01104/2.218, allocations: 2.078 MB / 1.165 GB, free: 89.66 MB / 0.5417 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.001448/2.219, allocations: 280.8 kB / 1.165 GB, free: 89.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02211/2.242, allocations: 14.7 MB / 1.179 GB, free: 81.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/2.242, allocations: 3.938 kB / 1.179 GB, free: 81.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01244/2.254, allocations: 7.95 MB / 1.187 GB, free: 74.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/2.258, allocations: 0.5645 MB / 1.188 GB, free: 74.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03568/2.294, allocations: 22.76 MB / 1.21 GB, free: 53.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009767/2.304, allocations: 5.288 MB / 1.215 GB, free: 49.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009824/2.314, allocations: 3.208 MB / 1.218 GB, free: 47.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003309/2.317, allocations: 441.7 kB / 1.219 GB, free: 47.36 MB / 0.5417 GB Notification: Performance of SimCode: time 2.274e-06/2.317, allocations: 4 kB / 1.219 GB, free: 47.36 MB / 0.5417 GB Notification: Performance of Templates: time 0.4164/2.733, allocations: 87.51 MB / 1.304 GB, free: 126.5 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperParallel/SpringDamperParallel.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches