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") [: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 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 179.9 kB / 8.519 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.4 MB / 230.3 MB, free: 2.984 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.000856/0.000856, allocations: 89.75 kB / 281.2 MB, free: 1.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2714/0.2714, allocations: 44.15 MB / 376.1 MB, free: 43.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.005e-06, allocations: 7.938 kB / 444 MB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2466, allocations: 61.89 MB / 0.4941 GB, free: 42.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.3583, allocations: 105.1 MB / 0.5967 GB, free: 12.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.3585, allocations: 79.95 kB / 0.5967 GB, free: 11.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.4565/0.8151, allocations: 124.9 MB / 0.7187 GB, free: 96.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000193/0.8153, allocations: 135.2 kB / 0.7189 GB, free: 96.9 MB / 0.4948 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.01544/0.8307, allocations: 6.765 MB / 0.7255 GB, free: 94.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.8308, allocations: 10.47 kB / 0.7255 GB, free: 94.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.8409, allocations: 2.385 MB / 0.7278 GB, free: 93.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008137/0.8491, allocations: 3.893 MB / 0.7316 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.8494, allocations: 240.2 kB / 0.7318 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/0.8514, allocations: 430.9 kB / 0.7322 GB, free: 93.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01486/0.8662, allocations: 11.52 MB / 0.7435 GB, free: 92.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/0.8893, allocations: 16.21 MB / 0.7593 GB, free: 84.94 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002034/0.8896, allocations: 81.7 kB / 0.7594 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007855/0.8904, allocations: 35.91 kB / 0.7594 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.8925, allocations: 2.036 MB / 0.7614 GB, free: 84.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06919/0.9617, allocations: 73.45 MB / 0.8332 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006733/0.9685, allocations: 7.027 MB / 0.84 GB, free: 20.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005215/0.9737, allocations: 5.716 MB / 0.8456 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008133/0.9745, allocations: 1.118 MB / 0.8467 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.9746, allocations: 89.09 kB / 0.8468 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=392): time 5.841e-06/0.9746, allocations: 0 / 0.8468 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=537): time 0.2754/1.25, allocations: 62.89 MB / 0.9082 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/1.25, allocations: 265.8 kB / 0.9084 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004468/1.255, allocations: 3.639 MB / 0.912 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008509/1.255, allocations: 27.58 kB / 0.912 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001644/1.257, allocations: 4.344 MB / 0.9163 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/1.259, allocations: 1.86 MB / 0.9181 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005647/1.259, allocations: 0 / 0.9181 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003921/1.26, allocations: 0.7434 MB / 0.9188 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006549/1.266, allocations: 5.704 MB / 0.9244 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007632/1.274, allocations: 10.7 MB / 0.9348 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009682/1.284, allocations: 8.316 MB / 0.943 GB, free: 132 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.643e-05/1.284, allocations: 54.62 kB / 0.943 GB, free: 132 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.03/1.314, allocations: 18.74 MB / 0.9613 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.314, allocations: 6 kB / 0.9613 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/1.314, allocations: 176.5 kB / 0.9615 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008689/1.323, allocations: 3.31 MB / 0.9647 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009434/1.332, allocations: 2.399 MB / 0.9671 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02705/1.359, allocations: 24.05 MB / 0.9905 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007808/1.367, allocations: 324.8 kB / 0.9909 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001963/1.369, allocations: 0.6116 MB / 0.9915 GB, free: 106.3 MB / 0.5105 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.002067/1.371, allocations: 0.5701 MB / 0.992 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.372, allocations: 497.7 kB / 0.9925 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02249/1.395, allocations: 14.1 MB / 1.006 GB, free: 93.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.241e-05/1.395, allocations: 52 kB / 1.006 GB, free: 93.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.678e-05/1.395, allocations: 12 kB / 1.006 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-05/1.395, allocations: 27.06 kB / 1.006 GB, free: 93.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03883/1.434, allocations: 26.51 MB / 1.032 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.434, allocations: 4 kB / 1.032 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004969/1.439, allocations: 0.8711 MB / 1.033 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009734/1.449, allocations: 3.475 MB / 1.036 GB, free: 68.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000683/1.449, allocations: 43.34 kB / 1.037 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01645/1.466, allocations: 19.53 MB / 1.056 GB, free: 49.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.466, allocations: 8.062 kB / 1.056 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03022/1.496, allocations: 22.4 MB / 1.077 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/1.497, allocations: 498.6 kB / 1.078 GB, free: 28.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001098/1.498, allocations: 11.98 kB / 1.078 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003516/1.502, allocations: 215.7 kB / 1.078 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007168/1.502, allocations: 267.3 kB / 1.078 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005084/1.503, allocations: 175.7 kB / 1.079 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.00298/1.506, allocations: 2.376 MB / 1.081 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007873/1.514, allocations: 1.786 MB / 1.083 GB, free: 24.09 MB / 0.5105 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.0008442/1.515, allocations: 227.8 kB / 1.083 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1593/1.674, allocations: 14.88 MB / 1.097 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.674, allocations: 5.156 kB / 1.097 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01202/1.686, allocations: 8.23 MB / 1.105 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.688, allocations: 342.1 kB / 1.106 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/1.715, allocations: 17.37 MB / 1.123 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007377/1.722, allocations: 5.73 MB / 1.128 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of SimCode: time 8.51e-07/1.722, allocations: 0 / 1.128 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.1333/1.855, allocations: 98.12 MB / 1.224 GB, free: 90.42 MB / 0.5105 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