Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009499/0.0009499, allocations: 197.9 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 226.5 MB / 244.1 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008002/0.0008003, allocations: 98.05 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2872/0.2872, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3913, allocations: 62.96 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.5125, allocations: 106.9 MB / 0.6208 GB, free: 14.47 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.5128, allocations: 79.95 kB / 0.6209 GB, free: 14.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4888/1.002, allocations: 128.4 MB / 0.7463 GB, free: 89.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.002, allocations: 7.531 kB / 0.7463 GB, free: 89.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003059/1.002, allocations: 142.1 kB / 0.7464 GB, free: 89.14 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.01958/1.022, allocations: 6.662 MB / 0.7529 GB, free: 84.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.022, allocations: 10.72 kB / 0.7529 GB, free: 84.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/1.032, allocations: 2.642 MB / 0.7555 GB, free: 83.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008966/1.041, allocations: 3.951 MB / 0.7594 GB, free: 80.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005571/1.042, allocations: 0.5464 MB / 0.7599 GB, free: 80.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003483/1.045, allocations: 0.7353 MB / 0.7606 GB, free: 80.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0421/1.087, allocations: 20.4 MB / 0.7805 GB, free: 59.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003236/1.088, allocations: 87.28 kB / 0.7806 GB, free: 59.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001874/1.089, allocations: 351.8 kB / 0.7809 GB, free: 59.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002182/1.092, allocations: 1.953 MB / 0.7829 GB, free: 57.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03327/1.125, allocations: 17.93 MB / 0.8004 GB, free: 39.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08233/1.207, allocations: 74.86 MB / 0.8735 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02128/1.229, allocations: 8.38 MB / 0.8817 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2663/1.495, allocations: 5.784 MB / 0.8873 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03124/1.526, allocations: 19.79 MB / 0.9066 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.923e-05/1.526, allocations: 71.86 kB / 0.9067 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=386): time 7.264e-06/1.526, allocations: 0 / 0.9067 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=531): time 0.3011/1.827, allocations: 90.93 MB / 0.9955 GB, free: 80.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/1.828, allocations: 184.3 kB / 0.9957 GB, free: 80.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0083/1.836, allocations: 5.107 MB / 1.001 GB, free: 74.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001605/1.838, allocations: 105.7 kB / 1.001 GB, free: 74.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002957/1.84, allocations: 4.528 MB / 1.005 GB, free: 70.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002791/1.843, allocations: 1.902 MB / 1.007 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001752/1.845, allocations: 208 kB / 1.007 GB, free: 68.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007213/1.846, allocations: 0.7436 MB / 1.008 GB, free: 67.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009452/1.855, allocations: 5.568 MB / 1.013 GB, free: 61.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01232/1.868, allocations: 10.5 MB / 1.024 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02125/1.889, allocations: 17.37 MB / 1.041 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001746/1.889, allocations: 48 kB / 1.041 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.03754/1.927, allocations: 18.67 MB / 1.059 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.927, allocations: 81.66 kB / 1.059 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/1.927, allocations: 171.9 kB / 1.059 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008314/1.935, allocations: 3.121 MB / 1.062 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009887/1.945, allocations: 2.386 MB / 1.065 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3415/2.287, allocations: 24.25 MB / 1.088 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009151/2.296, allocations: 0.5771 MB / 1.089 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002412/2.299, allocations: 0.568 MB / 1.089 GB, free: 137.4 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.009242/2.308, allocations: 3.331 MB / 1.093 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00178/2.31, allocations: 0.5402 MB / 1.093 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02739/2.337, allocations: 13.3 MB / 1.106 GB, free: 136.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001436/2.337, allocations: 54.78 kB / 1.106 GB, free: 136.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.939e-05/2.337, allocations: 12.69 kB / 1.106 GB, free: 136.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001587/2.338, allocations: 26.39 kB / 1.106 GB, free: 136.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05567/2.393, allocations: 26.16 MB / 1.132 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.535e-05/2.393, allocations: 3.688 kB / 1.132 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005206/2.399, allocations: 0.9064 MB / 1.133 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008705/2.407, allocations: 3.342 MB / 1.136 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001332/2.409, allocations: 97.72 kB / 1.136 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01949/2.428, allocations: 21.13 MB / 1.157 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/2.428, allocations: 8.375 kB / 1.157 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03308/2.461, allocations: 20.63 MB / 1.177 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/2.463, allocations: 0.5809 MB / 1.177 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002245/2.466, allocations: 98.16 kB / 1.177 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004536/2.47, allocations: 362.3 kB / 1.178 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001317/2.472, allocations: 355.7 kB / 1.178 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004759/2.472, allocations: 131.9 kB / 1.178 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004866/2.477, allocations: 3.14 MB / 1.181 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/2.477, allocations: 0 / 1.181 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009031/2.486, allocations: 2.079 MB / 1.183 GB, free: 102.9 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.001237/2.487, allocations: 285.2 kB / 1.184 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02154/2.509, allocations: 14.73 MB / 1.198 GB, free: 91.65 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/2.509, allocations: 4 kB / 1.198 GB, free: 91.65 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01306/2.522, allocations: 7.975 MB / 1.206 GB, free: 84.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009576/2.532, allocations: 0.6333 MB / 1.206 GB, free: 83.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0373/2.569, allocations: 23.63 MB / 1.229 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006564/2.575, allocations: 5.138 MB / 1.234 GB, free: 58.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002766/2.578, allocations: 0.5014 MB / 1.235 GB, free: 58.38 MB / 0.5573 GB Notification: Performance of SimCode: time 1.001e-06/2.578, allocations: 0 / 1.235 GB, free: 58.38 MB / 0.5573 GB Notification: Performance of Templates: time 1.161/3.739, allocations: 498.6 MB / 1.722 GB, free: 177.7 MB / 0.6042 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches