Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009014/0.0009014, allocations: 184.2 kB / 7.801 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000777/0.0007769, allocations: 95.27 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1532/0.1532, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.051e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2333, allocations: 58.83 MB / 476.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.3538, allocations: 103.7 MB / 0.5667 GB, free: 11.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001681/0.354, allocations: 79.95 kB / 0.5668 GB, free: 11.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4221/0.7761, allocations: 123.3 MB / 0.6872 GB, free: 102.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001728/0.7763, allocations: 139.3 kB / 0.6873 GB, free: 102.8 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.01435/0.7907, allocations: 6.777 MB / 0.6939 GB, free: 99.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.7907, allocations: 9.188 kB / 0.6939 GB, free: 99.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.8013, allocations: 2.384 MB / 0.6963 GB, free: 98.99 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008907/0.8103, allocations: 3.899 MB / 0.7001 GB, free: 97.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.8106, allocations: 240.4 kB / 0.7003 GB, free: 97.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/0.8124, allocations: 438.4 kB / 0.7007 GB, free: 97.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01873/0.8312, allocations: 11.51 MB / 0.712 GB, free: 92.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01981/0.851, allocations: 16.21 MB / 0.7278 GB, free: 75.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001822/0.8512, allocations: 91.17 kB / 0.7279 GB, free: 75.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007637/0.852, allocations: 39.94 kB / 0.7279 GB, free: 75.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001996/0.854, allocations: 2.034 MB / 0.7299 GB, free: 73.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06401/0.918, allocations: 73.47 MB / 0.8016 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008103/0.9261, allocations: 7.011 MB / 0.8085 GB, free: 7.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00629/0.9325, allocations: 5.717 MB / 0.8141 GB, free: 1.855 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009718/0.9335, allocations: 1.124 MB / 0.8152 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.9335, allocations: 85.08 kB / 0.8152 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of pre-optimization done (n=392): time 5.872e-06/0.9335, allocations: 0 / 0.8152 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of matching and sorting (n=537): time 0.2696/1.203, allocations: 62.93 MB / 0.8767 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/1.203, allocations: 261.7 kB / 0.8769 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/1.208, allocations: 3.661 MB / 0.8805 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001059/1.209, allocations: 29.55 kB / 0.8805 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/1.211, allocations: 4.337 MB / 0.8848 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001759/1.212, allocations: 1.859 MB / 0.8866 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005643/1.213, allocations: 0 / 0.8866 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003809/1.213, allocations: 0.7462 MB / 0.8873 GB, free: 159 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006368/1.22, allocations: 5.701 MB / 0.8929 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009234/1.229, allocations: 10.7 MB / 0.9033 GB, free: 148 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/1.242, allocations: 8.321 MB / 0.9115 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002645/1.242, allocations: 50.16 kB / 0.9115 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.03243/1.274, allocations: 18.75 MB / 0.9298 GB, free: 130 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.274, allocations: 8.031 kB / 0.9298 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003289/1.275, allocations: 175.9 kB / 0.93 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008767/1.283, allocations: 3.312 MB / 0.9332 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009649/1.293, allocations: 2.4 MB / 0.9356 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02543/1.319, allocations: 24.05 MB / 0.9591 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008072/1.327, allocations: 314.9 kB / 0.9594 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002376/1.329, allocations: 0.6212 MB / 0.96 GB, free: 102.1 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 {(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.003464/1.333, allocations: 0.5801 MB / 0.9605 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.334, allocations: 497.6 kB / 0.961 GB, free: 101 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02261/1.357, allocations: 14.1 MB / 0.9748 GB, free: 87.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.395e-05/1.357, allocations: 55.19 kB / 0.9748 GB, free: 87.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-05/1.357, allocations: 15.91 kB / 0.9748 GB, free: 87.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.639e-05/1.357, allocations: 31.89 kB / 0.9749 GB, free: 87.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04125/1.398, allocations: 26.51 MB / 1.001 GB, free: 60.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/1.398, allocations: 8.062 kB / 1.001 GB, free: 60.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005139/1.403, allocations: 0.8581 MB / 1.002 GB, free: 59.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009529/1.413, allocations: 3.481 MB / 1.005 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009216/1.414, allocations: 39.95 kB / 1.005 GB, free: 56.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/1.429, allocations: 19.54 MB / 1.024 GB, free: 35.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.429, allocations: 0 / 1.024 GB, free: 35.88 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0294/1.458, allocations: 22.4 MB / 1.046 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003656/1.462, allocations: 1.592 MB / 1.048 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001675/1.464, allocations: 19.91 kB / 1.048 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1306/1.594, allocations: 205.7 kB / 1.048 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/1.596, allocations: 274.1 kB / 1.048 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004968/1.596, allocations: 169.2 kB / 1.048 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003075/1.599, allocations: 2.392 MB / 1.051 GB, free: 156 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007107/1.606, allocations: 1.789 MB / 1.052 GB, free: 156 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.0006898/1.607, allocations: 201.9 kB / 1.052 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01672/1.624, allocations: 14.88 MB / 1.067 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/1.624, allocations: 1.844 kB / 1.067 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01188/1.636, allocations: 8.228 MB / 1.075 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/1.638, allocations: 354.1 kB / 1.075 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02577/1.664, allocations: 17.38 MB / 1.092 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00733/1.671, allocations: 5.74 MB / 1.098 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/1.671, allocations: 0 / 1.098 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.1239/1.795, allocations: 98.07 MB / 1.194 GB, free: 74.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches