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.001017/0.001017, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.257/1.257, allocations: 221.4 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008565/0.0008566, allocations: 83.56 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1656/0.1656, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.31e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3394/0.4413, allocations: 105.8 MB / 0.605 GB, free: 15.49 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.4416, allocations: 71.97 kB / 0.6051 GB, free: 15.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5561/0.9977, allocations: 129.3 MB / 0.7314 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9978, allocations: 0 / 0.7314 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000305/0.9981, allocations: 136.2 kB / 0.7315 GB, free: 108.7 MB / 0.5105 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.01962/1.018, allocations: 6.729 MB / 0.7381 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.018, allocations: 13.12 kB / 0.7381 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/1.03, allocations: 2.804 MB / 0.7408 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009409/1.039, allocations: 3.863 MB / 0.7446 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004049/1.04, allocations: 0.5524 MB / 0.7451 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002808/1.043, allocations: 0.7435 MB / 0.7459 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04246/1.085, allocations: 20.49 MB / 0.7659 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000251/1.085, allocations: 85.25 kB / 0.766 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/1.086, allocations: 343.1 kB / 0.7663 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002131/1.089, allocations: 1.953 MB / 0.7682 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03766/1.126, allocations: 17.99 MB / 0.7858 GB, free: 98.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07625/1.203, allocations: 74.97 MB / 0.859 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02039/1.223, allocations: 8.634 MB / 0.8674 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006094/1.229, allocations: 5.738 MB / 0.873 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02464/1.254, allocations: 19.9 MB / 0.8924 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.897e-05/1.254, allocations: 77.11 kB / 0.8925 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=386): time 6.592e-06/1.254, allocations: 0 / 0.8925 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531): time 0.4593/1.713, allocations: 59.07 MB / 0.9502 GB, free: 112 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/1.713, allocations: 190.1 kB / 0.9504 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006668/1.72, allocations: 4.507 MB / 0.9548 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001496/1.722, allocations: 108.7 kB / 0.9549 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002721/1.724, allocations: 4.524 MB / 0.9593 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002564/1.727, allocations: 1.904 MB / 0.9612 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009381/1.728, allocations: 201.2 kB / 0.9614 GB, free: 107 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004693/1.728, allocations: 0.7341 MB / 0.9621 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007608/1.736, allocations: 5.473 MB / 0.9674 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01056/1.747, allocations: 10.37 MB / 0.9775 GB, free: 95.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/1.757, allocations: 7.514 MB / 0.9849 GB, free: 93.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001682/1.758, allocations: 45.94 kB / 0.9849 GB, free: 93.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.03383/1.792, allocations: 18.49 MB / 1.003 GB, free: 87.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002239/1.792, allocations: 78.34 kB / 1.003 GB, free: 87.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002888/1.792, allocations: 167.7 kB / 1.003 GB, free: 87.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007741/1.8, allocations: 3.133 MB / 1.006 GB, free: 86.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009762/1.81, allocations: 2.398 MB / 1.009 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/1.832, allocations: 24.2 MB / 1.032 GB, free: 64.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009232/1.841, allocations: 0.5695 MB / 1.033 GB, free: 63.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002418/1.843, allocations: 0.5664 MB / 1.033 GB, free: 63.14 MB / 0.5261 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.003353/1.847, allocations: 0.8391 MB / 1.034 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/1.848, allocations: 0.5438 MB / 1.035 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02013/1.868, allocations: 13.19 MB / 1.048 GB, free: 50.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.237e-05/1.868, allocations: 55.95 kB / 1.048 GB, free: 50.74 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.163e-05/1.868, allocations: 12 kB / 1.048 GB, free: 50.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001149/1.869, allocations: 31.48 kB / 1.048 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04252/1.911, allocations: 26.03 MB / 1.073 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.631e-05/1.911, allocations: 7.797 kB / 1.073 GB, free: 29.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004938/1.916, allocations: 0.9045 MB / 1.074 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008407/1.925, allocations: 3.33 MB / 1.077 GB, free: 25.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001197/1.926, allocations: 105.1 kB / 1.077 GB, free: 25.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/1.943, allocations: 21.07 MB / 1.098 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/1.943, allocations: 8 kB / 1.098 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3383/2.281, allocations: 21.05 MB / 1.118 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/2.283, allocations: 0.5786 MB / 1.119 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00166/2.284, allocations: 94.91 kB / 1.119 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004317/2.289, allocations: 359 kB / 1.119 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/2.29, allocations: 349.4 kB / 1.12 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005156/2.291, allocations: 134.7 kB / 1.12 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005879/2.297, allocations: 3.087 MB / 1.123 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.71e-07/2.297, allocations: 0 / 1.123 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01049/2.307, allocations: 2.075 MB / 1.125 GB, free: 113.9 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 () * 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.001367/2.308, allocations: 293.2 kB / 1.125 GB, free: 113.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02223/2.331, allocations: 14.56 MB / 1.139 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/2.331, allocations: 0 / 1.139 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01332/2.344, allocations: 7.876 MB / 1.147 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005212/2.349, allocations: 0.5661 MB / 1.148 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/2.378, allocations: 17.02 MB / 1.164 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006205/2.384, allocations: 5.28 MB / 1.17 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008059/2.392, allocations: 3.214 MB / 1.173 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002316/2.394, allocations: 448.2 kB / 1.173 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/2.394, allocations: 3.391 kB / 1.173 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.1261/2.521, allocations: 87.56 MB / 1.259 GB, free: 48.18 MB / 0.5417 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