Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.001129, allocations: 97.59 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.411/0.411, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4383, allocations: 62.95 MB / 0.5184 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.5924, allocations: 106.9 MB / 0.6228 GB, free: 14.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.5927, allocations: 87.94 kB / 0.6229 GB, free: 14.32 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6119/1.205, allocations: 128.4 MB / 0.7482 GB, free: 89.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.464e-06/1.205, allocations: 0 / 0.7482 GB, free: 89.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003927/1.205, allocations: 145 kB / 0.7484 GB, free: 89.35 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.02371/1.229, allocations: 6.654 MB / 0.7548 GB, free: 84.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.229, allocations: 10.75 kB / 0.7549 GB, free: 84.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/1.241, allocations: 2.648 MB / 0.7574 GB, free: 83.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/1.252, allocations: 3.934 MB / 0.7613 GB, free: 81.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006715/1.252, allocations: 0.5542 MB / 0.7618 GB, free: 80.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004114/1.256, allocations: 0.74 MB / 0.7626 GB, free: 80.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0511/1.308, allocations: 20.4 MB / 0.7825 GB, free: 59.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005974/1.308, allocations: 87.33 kB / 0.7826 GB, free: 59.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003773/1.312, allocations: 351.7 kB / 0.7829 GB, free: 59.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002954/1.315, allocations: 1.953 MB / 0.7848 GB, free: 57.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03906/1.354, allocations: 17.93 MB / 0.8023 GB, free: 39.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1054/1.46, allocations: 74.86 MB / 0.8754 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02436/1.484, allocations: 8.391 MB / 0.8836 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3185/1.802, allocations: 5.789 MB / 0.8893 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02902/1.832, allocations: 19.77 MB / 0.9086 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/1.832, allocations: 76.88 kB / 0.9086 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=386): time 6.672e-06/1.832, allocations: 0 / 0.9086 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=531): time 0.2951/2.127, allocations: 90.93 MB / 0.9974 GB, free: 80.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/2.127, allocations: 184.2 kB / 0.9976 GB, free: 79.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009617/2.137, allocations: 5.107 MB / 1.003 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001261/2.138, allocations: 105.7 kB / 1.003 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002341/2.14, allocations: 4.518 MB / 1.007 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002292/2.142, allocations: 1.919 MB / 1.009 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008838/2.143, allocations: 204 kB / 1.009 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004266/2.144, allocations: 0.7358 MB / 1.01 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007356/2.151, allocations: 5.568 MB / 1.015 GB, free: 61.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00994/2.161, allocations: 10.5 MB / 1.026 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0192/2.18, allocations: 17.37 MB / 1.043 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001931/2.181, allocations: 48 kB / 1.043 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.03724/2.218, allocations: 18.68 MB / 1.061 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002991/2.218, allocations: 83.94 kB / 1.061 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003517/2.219, allocations: 171.9 kB / 1.061 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008006/2.227, allocations: 3.116 MB / 1.064 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009821/2.236, allocations: 2.39 MB / 1.066 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2829/2.519, allocations: 24.25 MB / 1.09 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007447/2.527, allocations: 0.5758 MB / 1.091 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/2.528, allocations: 0.5681 MB / 1.091 GB, free: 137.9 MB / 0.5573 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.00587/2.534, allocations: 3.323 MB / 1.095 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/2.535, allocations: 0.5471 MB / 1.095 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0209/2.556, allocations: 13.3 MB / 1.108 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001028/2.556, allocations: 53.56 kB / 1.108 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.669e-05/2.556, allocations: 12.03 kB / 1.108 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001055/2.557, allocations: 25.44 kB / 1.108 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04661/2.603, allocations: 26.17 MB / 1.134 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.585e-05/2.603, allocations: 3.75 kB / 1.134 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004978/2.608, allocations: 0.8999 MB / 1.135 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008169/2.616, allocations: 3.343 MB / 1.138 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000954/2.617, allocations: 101.1 kB / 1.138 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/2.634, allocations: 21.12 MB / 1.159 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/2.634, allocations: 7.375 kB / 1.159 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02999/2.664, allocations: 20.62 MB / 1.179 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/2.666, allocations: 0.5809 MB / 1.179 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/2.668, allocations: 101.4 kB / 1.179 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004277/2.672, allocations: 358.8 kB / 1.18 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001285/2.673, allocations: 348.3 kB / 1.18 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000681/2.674, allocations: 138.6 kB / 1.18 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005305/2.679, allocations: 3.134 MB / 1.183 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/2.679, allocations: 0 / 1.183 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009125/2.689, allocations: 2.082 MB / 1.185 GB, free: 103.4 MB / 0.5573 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.0009728/2.69, allocations: 286.9 kB / 1.186 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02001/2.71, allocations: 14.73 MB / 1.2 GB, free: 91.72 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/2.71, allocations: 7.094 kB / 1.2 GB, free: 91.71 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01158/2.721, allocations: 7.966 MB / 1.208 GB, free: 84.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007503/2.729, allocations: 0.6336 MB / 1.208 GB, free: 83.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03155/2.76, allocations: 22.84 MB / 1.231 GB, free: 63.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008547/2.769, allocations: 5.134 MB / 1.236 GB, free: 59.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01007/2.779, allocations: 3.209 MB / 1.239 GB, free: 57.44 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002671/2.782, allocations: 452.3 kB / 1.239 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/2.782, allocations: 0 / 1.239 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of Templates: time 0.4067/3.188, allocations: 87.77 MB / 1.325 GB, free: 125.8 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperParallel/SpringDamperParallel.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches