Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_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 trunk/package.mo): time 0.001206/0.001206, allocations: 199.2 kB / 8.54 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 225.5 MB / 234.4 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000892/0.000892, allocations: 95.02 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1873/0.1873, allocations: 45.15 MB / 383.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.456e-06, allocations: 4 kB / 452.6 MB, free: 76.15 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09087/0.09089, allocations: 63.24 MB / 0.5038 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2853/0.3762, allocations: 106.1 MB / 0.6074 GB, free: 12.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.3765, allocations: 81.42 kB / 0.6075 GB, free: 12.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3087/0.6852, allocations: 125 MB / 0.7296 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003442/0.6856, allocations: 140 kB / 0.7297 GB, free: 7.605 MB / 0.5105 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.02108/0.7067, allocations: 6.917 MB / 0.7365 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.7068, allocations: 8.031 kB / 0.7365 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.7182, allocations: 2.381 MB / 0.7388 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.7294, allocations: 3.897 MB / 0.7426 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004239/0.7298, allocations: 244 kB / 0.7428 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004361/0.7342, allocations: 431.9 kB / 0.7432 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2382/0.9724, allocations: 11.51 MB / 0.7545 GB, free: 88.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02734/0.9998, allocations: 16.2 MB / 0.7703 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002765/1, allocations: 82.98 kB / 0.7704 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/1.001, allocations: 38.5 kB / 0.7704 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002247/1.003, allocations: 2.032 MB / 0.7724 GB, free: 85.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07171/1.075, allocations: 73.46 MB / 0.8441 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006562/1.082, allocations: 7.014 MB / 0.851 GB, free: 45.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005104/1.087, allocations: 5.714 MB / 0.8566 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008361/1.088, allocations: 1.134 MB / 0.8577 GB, free: 41.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/1.088, allocations: 72.91 kB / 0.8577 GB, free: 41.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=392): time 7.264e-06/1.088, allocations: 0 / 0.8577 GB, free: 41.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=537): time 0.1323/1.22, allocations: 62.91 MB / 0.9192 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/1.22, allocations: 276 kB / 0.9194 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004353/1.225, allocations: 3.631 MB / 0.923 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008499/1.225, allocations: 25.7 kB / 0.923 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002378/1.228, allocations: 4.345 MB / 0.9273 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002053/1.23, allocations: 1.864 MB / 0.9291 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005508/1.23, allocations: 0 / 0.9291 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005193/1.231, allocations: 0.7437 MB / 0.9298 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007655/1.239, allocations: 5.705 MB / 0.9354 GB, free: 5.305 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/1.251, allocations: 10.69 MB / 0.9458 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01372/1.264, allocations: 8.319 MB / 0.9539 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.575e-05/1.264, allocations: 48 kB / 0.954 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.2316/1.496, allocations: 19.76 MB / 0.9733 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.496, allocations: 7.281 kB / 0.9733 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002164/1.496, allocations: 171.6 kB / 0.9735 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009027/1.505, allocations: 3.307 MB / 0.9767 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009729/1.515, allocations: 2.397 MB / 0.979 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02552/1.541, allocations: 24.05 MB / 1.003 GB, free: 99.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007626/1.548, allocations: 315 kB / 1.003 GB, free: 99.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/1.55, allocations: 0.6209 MB / 1.003 GB, free: 99.42 MB / 0.5573 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.001576/1.552, allocations: 0.5775 MB / 1.004 GB, free: 99.12 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.553, allocations: 489.2 kB / 1.004 GB, free: 99.12 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02279/1.575, allocations: 14.1 MB / 1.018 GB, free: 98.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.329e-05/1.576, allocations: 55.72 kB / 1.018 GB, free: 98.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.849e-05/1.576, allocations: 10.59 kB / 1.018 GB, free: 98.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.554e-05/1.576, allocations: 29.72 kB / 1.018 GB, free: 98.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0398/1.615, allocations: 26.49 MB / 1.044 GB, free: 93.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-05/1.615, allocations: 3.844 kB / 1.044 GB, free: 93.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005478/1.621, allocations: 0.8598 MB / 1.045 GB, free: 92.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0109/1.632, allocations: 3.482 MB / 1.048 GB, free: 92.06 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001174/1.633, allocations: 50.06 kB / 1.048 GB, free: 92.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/1.651, allocations: 19.54 MB / 1.068 GB, free: 78.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.902e-06/1.651, allocations: 6.531 kB / 1.068 GB, free: 78.48 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03107/1.682, allocations: 22.41 MB / 1.089 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.683, allocations: 0.491 MB / 1.09 GB, free: 60.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/1.684, allocations: 7.797 kB / 1.09 GB, free: 60.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/1.688, allocations: 212.7 kB / 1.09 GB, free: 60.53 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007851/1.689, allocations: 272.5 kB / 1.09 GB, free: 60.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005246/1.689, allocations: 170.3 kB / 1.091 GB, free: 60.22 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002977/1.692, allocations: 2.376 MB / 1.093 GB, free: 58.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007976/1.7, allocations: 1.797 MB / 1.095 GB, free: 56.36 MB / 0.5573 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.0009696/1.701, allocations: 212.8 kB / 1.095 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01818/1.72, allocations: 14.89 MB / 1.109 GB, free: 42.51 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.72, allocations: 4 kB / 1.109 GB, free: 42.51 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01205/1.732, allocations: 8.231 MB / 1.117 GB, free: 34.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/1.734, allocations: 350.1 kB / 1.118 GB, free: 34.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02831/1.762, allocations: 17.36 MB / 1.135 GB, free: 19.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008705/1.771, allocations: 5.728 MB / 1.14 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of SimCode: time 9.31e-07/1.771, allocations: 4 kB / 1.14 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of Templates: time 0.3455/2.117, allocations: 98.12 MB / 1.236 GB, free: 105.2 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches