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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) [: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.001097/0.001096, allocations: 190.3 kB / 7.804 MB, free: 2.496 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.215/1.215, allocations: 205.2 MB / 213.4 MB, free: 13.9 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.0008638/0.0008639, allocations: 84.5 kB / 261.4 MB, free: 13.52 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.175/0.175, allocations: 43.5 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1962/0.3712, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.6675, allocations: 58.83 MB / 476.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.8112, allocations: 103.7 MB / 0.5668 GB, free: 11.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.8115, allocations: 71.95 kB / 0.5669 GB, free: 11.06 MB / 410.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.5315/1.343, allocations: 130.2 MB / 0.694 GB, free: 99.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.343, allocations: 13.62 kB / 0.694 GB, free: 99.42 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/1.358, allocations: 2.378 MB / 0.6963 GB, free: 98.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01576/1.374, allocations: 3.898 MB / 0.7002 GB, free: 96.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008269/1.375, allocations: 240.9 kB / 0.7004 GB, free: 96.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005177/1.38, allocations: 437.8 kB / 0.7008 GB, free: 96.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02765/1.407, allocations: 11.52 MB / 0.712 GB, free: 92.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04158/1.449, allocations: 16.21 MB / 0.7279 GB, free: 75.54 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005591/1.45, allocations: 83.19 kB / 0.728 GB, free: 75.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003475/1.453, allocations: 40 kB / 0.728 GB, free: 75.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002973/1.456, allocations: 2.034 MB / 0.73 GB, free: 73.38 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09157/1.548, allocations: 73.46 MB / 0.8017 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/1.559, allocations: 7.02 MB / 0.8086 GB, free: 7.418 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008106/1.567, allocations: 5.714 MB / 0.8142 GB, free: 1.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00152/1.569, allocations: 1.124 MB / 0.8153 GB, free: 424 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.694e-05/1.569, allocations: 85.09 kB / 0.8153 GB, free: 328 kB / 490.7 MB Notification: Performance of pre-optimization done (n=392): time 1.191e-05/1.569, allocations: 0 / 0.8153 GB, free: 328 kB / 490.7 MB Notification: Performance of matching and sorting (n=537): time 0.3202/1.889, allocations: 62.92 MB / 0.8768 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/1.889, allocations: 265.3 kB / 0.877 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005604/1.895, allocations: 3.661 MB / 0.8806 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001494/1.896, allocations: 25.7 kB / 0.8806 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002057/1.898, allocations: 4.338 MB / 0.8849 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002647/1.901, allocations: 1.862 MB / 0.8867 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008148/1.902, allocations: 3.062 kB / 0.8867 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004778/1.902, allocations: 0.7447 MB / 0.8874 GB, free: 158 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007769/1.91, allocations: 5.705 MB / 0.893 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01146/1.922, allocations: 10.69 MB / 0.9034 GB, free: 147 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/1.937, allocations: 8.312 MB / 0.9116 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000285/1.937, allocations: 49.5 kB / 0.9116 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.03852/1.976, allocations: 18.76 MB / 0.9299 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.976, allocations: 4 kB / 0.9299 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002376/1.976, allocations: 176.9 kB / 0.9301 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009268/1.986, allocations: 3.306 MB / 0.9333 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01086/1.996, allocations: 2.397 MB / 0.9357 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02798/2.024, allocations: 24.06 MB / 0.9592 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00943/2.034, allocations: 318.4 kB / 0.9595 GB, free: 101 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003141/2.037, allocations: 0.6144 MB / 0.9601 GB, free: 100.4 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.004466/2.042, allocations: 0.5759 MB / 0.9606 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/2.043, allocations: 494.3 kB / 0.9611 GB, free: 99.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02325/2.067, allocations: 14.1 MB / 0.9749 GB, free: 85.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001174/2.067, allocations: 52 kB / 0.9749 GB, free: 85.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.126e-05/2.067, allocations: 19.91 kB / 0.9749 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-05/2.067, allocations: 27.89 kB / 0.975 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04676/2.114, allocations: 26.51 MB / 1.001 GB, free: 58.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.374e-05/2.114, allocations: 0 / 1.001 GB, free: 58.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005586/2.119, allocations: 0.8663 MB / 1.002 GB, free: 57.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01051/2.13, allocations: 3.477 MB / 1.005 GB, free: 54.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001721/2.132, allocations: 43.95 kB / 1.005 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/2.149, allocations: 19.53 MB / 1.024 GB, free: 33.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/2.149, allocations: 7.938 kB / 1.024 GB, free: 33.77 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2218/2.371, allocations: 22.4 MB / 1.046 GB, free: 151 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04248/2.414, allocations: 30.83 MB / 1.076 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004355/2.418, allocations: 1.596 MB / 1.078 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001523/2.42, allocations: 14.84 kB / 1.078 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004037/2.424, allocations: 217.2 kB / 1.078 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007787/2.424, allocations: 269.7 kB / 1.078 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005307/2.425, allocations: 175.5 kB / 1.078 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003826/2.429, allocations: 2.384 MB / 1.081 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01115/2.44, allocations: 1.795 MB / 1.082 GB, free: 145.6 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.0009891/2.441, allocations: 213 kB / 1.083 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02001/2.461, allocations: 14.89 MB / 1.097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/2.461, allocations: 4.859 kB / 1.097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01304/2.474, allocations: 8.221 MB / 1.105 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/2.477, allocations: 357.9 kB / 1.106 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04139/2.519, allocations: 17.41 MB / 1.123 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01062/2.529, allocations: 5.776 MB / 1.128 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.232e-06/2.529, allocations: 0 / 1.128 GB, free: 126.5 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperParallel_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperParallel.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1)