Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_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_3.2.3_cpp_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.001423/0.001422, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 100.1 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2885/0.2885, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.211e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.394, allocations: 58.86 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.5834, allocations: 103.8 MB / 0.5673 GB, free: 11.46 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.5838, allocations: 75.97 kB / 0.5674 GB, free: 11.39 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8249/1.409, allocations: 124 MB / 0.6885 GB, free: 102.7 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.635e-06/1.409, allocations: 0 / 0.6885 GB, free: 102.7 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003446/1.409, allocations: 141.4 kB / 0.6886 GB, free: 102.7 MB / 475.1 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.02759/1.437, allocations: 6.739 MB / 0.6952 GB, free: 99.43 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.437, allocations: 7.875 kB / 0.6952 GB, free: 99.43 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01936/1.456, allocations: 2.807 MB / 0.6979 GB, free: 98.87 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/1.47, allocations: 3.87 MB / 0.7017 GB, free: 96.93 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005357/1.471, allocations: 245.4 kB / 0.702 GB, free: 96.93 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004008/1.475, allocations: 435.1 kB / 0.7024 GB, free: 96.92 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02746/1.502, allocations: 11.28 MB / 0.7134 GB, free: 92.88 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0417/1.544, allocations: 16 MB / 0.729 GB, free: 75.7 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005157/1.545, allocations: 83.16 kB / 0.7291 GB, free: 75.61 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003669/1.548, allocations: 40 kB / 0.7291 GB, free: 75.57 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004542/1.553, allocations: 1.949 MB / 0.731 GB, free: 73.63 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1541/1.707, allocations: 72.97 MB / 0.8023 GB, free: 15.33 MB / 491.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02423/1.731, allocations: 7.469 MB / 0.8096 GB, free: 7.695 MB / 491.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01838/1.75, allocations: 5.546 MB / 0.815 GB, free: 2.133 MB / 491.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00296/1.753, allocations: 1.125 MB / 0.8161 GB, free: 0.8633 MB / 491.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/1.753, allocations: 77.14 kB / 0.8162 GB, free: 0.7773 MB / 491.1 MB Notification: Performance of pre-optimization done (n=392): time 1.274e-05/1.753, allocations: 4 kB / 0.8162 GB, free: 0.7734 MB / 491.1 MB Notification: Performance of matching and sorting (n=537): time 0.6824/2.435, allocations: 59.37 MB / 0.8742 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/2.436, allocations: 255.8 kB / 0.8744 GB, free: 112.8 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008659/2.444, allocations: 3.615 MB / 0.8779 GB, free: 111.5 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.001631/2.446, allocations: 27.48 kB / 0.878 GB, free: 111.5 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.00351/2.449, allocations: 4.543 MB / 0.8824 GB, free: 107.9 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.003401/2.453, allocations: 1.865 MB / 0.8842 GB, free: 106.5 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002209/2.455, allocations: 0 / 0.8842 GB, free: 106.5 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0009125/2.456, allocations: 0.7515 MB / 0.8849 GB, free: 106 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01301/2.469, allocations: 5.443 MB / 0.8903 GB, free: 103.8 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0164/2.486, allocations: 10.43 MB / 0.9005 GB, free: 95.07 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01648/2.502, allocations: 7.487 MB / 0.9078 GB, free: 92.38 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002343/2.502, allocations: 50.56 kB / 0.9078 GB, free: 92.38 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.05205/2.554, allocations: 17.49 MB / 0.9249 GB, free: 84.04 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/2.555, allocations: 77.25 kB / 0.925 GB, free: 83.97 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002715/2.555, allocations: 176 kB / 0.9251 GB, free: 83.8 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0136/2.569, allocations: 3.077 MB / 0.9281 GB, free: 81.45 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0197/2.588, allocations: 2.456 MB / 0.9305 GB, free: 79.38 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05318/2.642, allocations: 22.66 MB / 0.9527 GB, free: 57.95 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/2.654, allocations: 409.2 kB / 0.9531 GB, free: 57.66 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003055/2.657, allocations: 0.5748 MB / 0.9536 GB, free: 57.12 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 794 * 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 (1260): * Single equations (assignments): 1247 * 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.004861/2.662, allocations: 0.5731 MB / 0.9542 GB, free: 56.55 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002793/2.665, allocations: 497.7 kB / 0.9546 GB, free: 56.06 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04096/2.706, allocations: 12.91 MB / 0.9673 GB, free: 45.38 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001213/2.706, allocations: 60.58 kB / 0.9673 GB, free: 45.32 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.704e-05/2.706, allocations: 15.94 kB / 0.9673 GB, free: 45.3 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001656/2.706, allocations: 30.72 kB / 0.9674 GB, free: 45.3 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07335/2.78, allocations: 25.02 MB / 0.9918 GB, free: 20.35 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.851e-05/2.78, allocations: 4 kB / 0.9918 GB, free: 20.34 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01012/2.79, allocations: 0.9205 MB / 0.9927 GB, free: 19.42 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01618/2.806, allocations: 3.279 MB / 0.9959 GB, free: 16.1 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001727/2.808, allocations: 19.98 kB / 0.9959 GB, free: 16.08 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03198/2.84, allocations: 19.99 MB / 1.015 GB, free: 11.22 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/2.84, allocations: 4 kB / 1.015 GB, free: 11.21 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4338/3.274, allocations: 20.87 MB / 1.036 GB, free: 118.6 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006887/3.281, allocations: 1.56 MB / 1.037 GB, free: 118.5 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002518/3.283, allocations: 11.3 kB / 1.037 GB, free: 118.5 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008088/3.292, allocations: 292.6 kB / 1.038 GB, free: 118.5 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002324/3.294, allocations: 346 kB / 1.038 GB, free: 118.5 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001048/3.295, allocations: 133.9 kB / 1.038 GB, free: 118.5 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.006624/3.302, allocations: 2.339 MB / 1.04 GB, free: 118.3 MB / 0.5108 GB Notification: Performance of sort global known variables: time 5.91e-07/3.302, allocations: 0 / 1.04 GB, free: 118.3 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.01398/3.316, allocations: 1.797 MB / 1.042 GB, free: 118.3 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (454): * Single equations (assignments): 436 * 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.001989/3.318, allocations: 208.3 kB / 1.042 GB, free: 118.2 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.03231/3.35, allocations: 14.33 MB / 1.056 GB, free: 114.6 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/3.35, allocations: 0 / 1.056 GB, free: 114.6 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.02128/3.371, allocations: 7.876 MB / 1.064 GB, free: 110.7 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00498/3.376, allocations: 356.2 kB / 1.064 GB, free: 110.5 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0488/3.425, allocations: 17.76 MB / 1.082 GB, free: 103.8 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01319/3.438, allocations: 5.298 MB / 1.087 GB, free: 102 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004913/3.443, allocations: 486.2 kB / 1.087 GB, free: 102 MB / 0.5108 GB Notification: Performance of SimCode: time 1.292e-06/3.443, allocations: 4 kB / 1.087 GB, free: 102 MB / 0.5108 GB Notification: Performance of Templates: time 1.497/4.941, allocations: 462.3 MB / 1.539 GB, free: 76.67 MB / 0.5421 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches