Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002321/0.002321, allocations: 170.2 kB / 8.147 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 86.72 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2523/0.2523, allocations: 43.49 MB / 353.2 MB, free: 2.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.144e-05, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.281, allocations: 58.83 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.4701, allocations: 103.7 MB / 0.5667 GB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.4705, allocations: 79.41 kB / 0.5668 GB, free: 11.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.7061/1.177, allocations: 123.3 MB / 0.6872 GB, free: 102.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003245/1.177, allocations: 134.4 kB / 0.6873 GB, free: 102.3 MB / 474.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.02703/1.204, allocations: 6.787 MB / 0.6939 GB, free: 99.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.204, allocations: 8.406 kB / 0.6939 GB, free: 99.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0202/1.224, allocations: 2.384 MB / 0.6962 GB, free: 98.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/1.24, allocations: 3.897 MB / 0.7001 GB, free: 96.54 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005995/1.241, allocations: 240.1 kB / 0.7003 GB, free: 96.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004731/1.246, allocations: 438 kB / 0.7007 GB, free: 96.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03362/1.279, allocations: 11.51 MB / 0.7119 GB, free: 92.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04493/1.324, allocations: 16.21 MB / 0.7278 GB, free: 75.85 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005374/1.325, allocations: 83.23 kB / 0.7279 GB, free: 75.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003608/1.329, allocations: 36 kB / 0.7279 GB, free: 75.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004549/1.333, allocations: 2.037 MB / 0.7299 GB, free: 73.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1359/1.469, allocations: 73.46 MB / 0.8016 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/1.488, allocations: 7.012 MB / 0.8085 GB, free: 7.723 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01273/1.501, allocations: 5.718 MB / 0.8141 GB, free: 1.988 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001856/1.503, allocations: 1.122 MB / 0.8151 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.872e-05/1.503, allocations: 81.09 kB / 0.8152 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of pre-optimization done (n=392): time 7.585e-06/1.503, allocations: 0 / 0.8152 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of matching and sorting (n=537): time 0.4232/1.926, allocations: 62.93 MB / 0.8767 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.927, allocations: 261.7 kB / 0.8769 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007364/1.934, allocations: 3.66 MB / 0.8805 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001469/1.935, allocations: 29.52 kB / 0.8805 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002639/1.938, allocations: 4.301 MB / 0.8847 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002882/1.941, allocations: 1.864 MB / 0.8865 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/1.942, allocations: 0 / 0.8865 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006175/1.943, allocations: 0.7455 MB / 0.8873 GB, free: 159 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01312/1.956, allocations: 5.707 MB / 0.8929 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01749/1.974, allocations: 10.69 MB / 0.9033 GB, free: 148 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02235/1.996, allocations: 8.312 MB / 0.9114 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003048/1.996, allocations: 49.41 kB / 0.9115 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.0621/2.058, allocations: 18.66 MB / 0.9297 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/2.058, allocations: 4 kB / 0.9297 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003459/2.059, allocations: 179.9 kB / 0.9299 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01674/2.076, allocations: 3.228 MB / 0.933 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01907/2.095, allocations: 2.392 MB / 0.9353 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05319/2.148, allocations: 24.58 MB / 0.9593 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01215/2.16, allocations: 314.6 kB / 0.9596 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003323/2.164, allocations: 0.6193 MB / 0.9603 GB, free: 101.9 MB / 0.4948 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 {(2,100.0%) 8,(3,100.0%) 12,(2,100.0%) 3,(2,100.0%) 8,(3,100.0%) 12,(2,100.0%) 3,(2,100.0%) 8,(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003815/2.167, allocations: 0.5101 MB / 0.9608 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/2.169, allocations: 493.7 kB / 0.9612 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04999/2.219, allocations: 14.1 MB / 0.975 GB, free: 87.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001962/2.219, allocations: 55.75 kB / 0.975 GB, free: 87.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.229e-05/2.22, allocations: 12 kB / 0.9751 GB, free: 87.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000159/2.22, allocations: 31.89 kB / 0.9751 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09782/2.318, allocations: 26.51 MB / 1.001 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.991e-05/2.318, allocations: 3.906 kB / 1.001 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01058/2.328, allocations: 0.8702 MB / 1.002 GB, free: 59.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02014/2.348, allocations: 3.47 MB / 1.005 GB, free: 56.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001727/2.35, allocations: 47.95 kB / 1.005 GB, free: 56.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03083/2.381, allocations: 19.53 MB / 1.024 GB, free: 35.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/2.381, allocations: 7.938 kB / 1.024 GB, free: 35.78 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06065/2.442, allocations: 22.39 MB / 1.046 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1806/2.622, allocations: 1.602 MB / 1.048 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002976/2.626, allocations: 7.844 kB / 1.048 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008103/2.634, allocations: 214.8 kB / 1.048 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00182/2.636, allocations: 268.1 kB / 1.048 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009371/2.636, allocations: 185 kB / 1.048 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00569/2.642, allocations: 2.385 MB / 1.051 GB, free: 156.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01299/2.655, allocations: 1.779 MB / 1.052 GB, free: 156.4 MB / 0.4948 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.001957/2.657, allocations: 208 kB / 1.053 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03861/2.696, allocations: 15.13 MB / 1.067 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/2.696, allocations: 0 / 1.067 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02553/2.721, allocations: 8.234 MB / 1.076 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/2.726, allocations: 354.6 kB / 1.076 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05746/2.784, allocations: 18.15 MB / 1.094 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01784/2.802, allocations: 5.779 MB / 1.099 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.593e-06/2.802, allocations: 2.406 kB / 1.099 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of Templates: time 1.063/3.864, allocations: 470.6 MB / 1.559 GB, free: 64.96 MB / 0.4948 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/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_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches