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.001106/0.001106, allocations: 183.1 kB / 13.19 MB, free: 2.129 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.35/1.35, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008123/0.0008125, allocations: 88.52 kB / 267 MB, free: 9.281 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.3331/0.3331, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.265e-05/2.278e-05, allocations: 4 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 58.85 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3769/0.4884, allocations: 104.5 MB / 0.5748 GB, free: 1.379 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.4887, allocations: 79.14 kB / 0.5749 GB, free: 1.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5709/1.06, allocations: 127.7 MB / 0.6996 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/1.06, allocations: 3.625 kB / 0.6996 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004883/1.06, allocations: 137.5 kB / 0.6997 GB, free: 79.16 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.02556/1.086, allocations: 6.737 MB / 0.7063 GB, free: 76.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/1.086, allocations: 10.5 kB / 0.7063 GB, free: 76.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/1.099, allocations: 2.807 MB / 0.7091 GB, free: 76.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/1.111, allocations: 3.881 MB / 0.7129 GB, free: 75.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006548/1.111, allocations: 0.55 MB / 0.7134 GB, free: 75.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004248/1.116, allocations: 0.7429 MB / 0.7141 GB, free: 75.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05359/1.169, allocations: 20.49 MB / 0.7341 GB, free: 72.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009282/1.17, allocations: 88.84 kB / 0.7342 GB, free: 72.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003643/1.174, allocations: 352.1 kB / 0.7346 GB, free: 72.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003738/1.178, allocations: 1.948 MB / 0.7365 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04334/1.221, allocations: 17.99 MB / 0.754 GB, free: 72.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09449/1.316, allocations: 74.97 MB / 0.8272 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02073/1.336, allocations: 8.63 MB / 0.8357 GB, free: 37.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006764/1.343, allocations: 5.725 MB / 0.8413 GB, free: 34.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02427/1.367, allocations: 19.91 MB / 0.8607 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/1.368, allocations: 77.11 kB / 0.8608 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=386): time 6.012e-06/1.368, allocations: 0 / 0.8608 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531): time 0.4537/1.821, allocations: 59.1 MB / 0.9185 GB, free: 84.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/1.821, allocations: 178.5 kB / 0.9187 GB, free: 84.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008487/1.83, allocations: 4.519 MB / 0.9231 GB, free: 84.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001596/1.832, allocations: 104.9 kB / 0.9232 GB, free: 84.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004511/1.836, allocations: 4.527 MB / 0.9276 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003138/1.839, allocations: 1.902 MB / 0.9295 GB, free: 81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/1.84, allocations: 203.3 kB / 0.9297 GB, free: 81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005191/1.841, allocations: 0.7397 MB / 0.9304 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007456/1.848, allocations: 5.474 MB / 0.9357 GB, free: 80.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01193/1.86, allocations: 10.37 MB / 0.9458 GB, free: 73.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/1.872, allocations: 7.502 MB / 0.9532 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001474/1.872, allocations: 51.84 kB / 0.9532 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.03309/1.905, allocations: 18.5 MB / 0.9713 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002659/1.905, allocations: 75.41 kB / 0.9714 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002982/1.906, allocations: 168 kB / 0.9715 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007287/1.913, allocations: 3.13 MB / 0.9746 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009558/1.922, allocations: 2.391 MB / 0.9769 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02269/1.945, allocations: 24.2 MB / 1.001 GB, free: 47.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/1.955, allocations: 0.5751 MB / 1.001 GB, free: 47.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002657/1.958, allocations: 0.564 MB / 1.002 GB, free: 47.67 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.003639/1.962, allocations: 0.8437 MB / 1.002 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001839/1.964, allocations: 0.5473 MB / 1.003 GB, free: 46.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02371/1.987, allocations: 13.19 MB / 1.016 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.883e-05/1.987, allocations: 55.22 kB / 1.016 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.3e-05/1.988, allocations: 18.12 kB / 1.016 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001384/1.988, allocations: 25.55 kB / 1.016 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04682/2.034, allocations: 26.05 MB / 1.041 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.965e-05/2.035, allocations: 4 kB / 1.041 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005292/2.04, allocations: 0.9009 MB / 1.042 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008357/2.048, allocations: 3.333 MB / 1.046 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001405/2.05, allocations: 97.92 kB / 1.046 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01736/2.067, allocations: 21.08 MB / 1.066 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.882e-06/2.067, allocations: 11.94 kB / 1.066 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2929/2.36, allocations: 21.07 MB / 1.087 GB, free: 88.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004845/2.365, allocations: 1.605 MB / 1.088 GB, free: 88.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/2.366, allocations: 93.25 kB / 1.088 GB, free: 88.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003719/2.37, allocations: 364.8 kB / 1.089 GB, free: 88.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001029/2.371, allocations: 344.7 kB / 1.089 GB, free: 88.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004172/2.371, allocations: 139.5 kB / 1.089 GB, free: 88.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004161/2.376, allocations: 3.104 MB / 1.092 GB, free: 88.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.9e-07/2.376, allocations: 0 / 1.092 GB, free: 88.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008063/2.384, allocations: 2.073 MB / 1.094 GB, free: 88.64 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.0008895/2.385, allocations: 279.9 kB / 1.095 GB, free: 88.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02011/2.405, allocations: 14.55 MB / 1.109 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/2.405, allocations: 4.5 kB / 1.109 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01249/2.417, allocations: 7.882 MB / 1.117 GB, free: 85.69 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005091/2.422, allocations: 0.5621 MB / 1.117 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/2.456, allocations: 17.04 MB / 1.134 GB, free: 82.87 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006294/2.462, allocations: 5.287 MB / 1.139 GB, free: 81.97 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008707/2.471, allocations: 3.209 MB / 1.142 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002792/2.474, allocations: 449.2 kB / 1.142 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of SimCode: time 3.797e-06/2.474, allocations: 3.844 kB / 1.142 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of Templates: time 0.1347/2.608, allocations: 87.53 MB / 1.228 GB, free: 43.64 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/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