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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 175.1 kB / 8.516 MB, free: 1.855 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.153/1.153, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.0009847/0.0009847, allocations: 88.66 kB / 281.2 MB, free: 5.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1616/0.1616, allocations: 44.14 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1735/0.3352, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.4286, allocations: 61.91 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2592/0.6878, allocations: 105.1 MB / 0.5968 GB, free: 7.633 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.6881, allocations: 78.95 kB / 0.5968 GB, free: 7.559 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.4774/1.165, allocations: 131.8 MB / 0.7256 GB, free: 98.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.166, allocations: 18.38 kB / 0.7256 GB, free: 98.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/1.176, allocations: 2.376 MB / 0.7279 GB, free: 98.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009071/1.185, allocations: 3.893 MB / 0.7317 GB, free: 97.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/1.186, allocations: 240.6 kB / 0.7319 GB, free: 97.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002709/1.188, allocations: 433.7 kB / 0.7324 GB, free: 97.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01764/1.206, allocations: 11.51 MB / 0.7436 GB, free: 97.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02567/1.232, allocations: 16.21 MB / 0.7594 GB, free: 92.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002733/1.232, allocations: 83.81 kB / 0.7595 GB, free: 92.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/1.233, allocations: 42.5 kB / 0.7595 GB, free: 92.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002482/1.236, allocations: 2.027 MB / 0.7615 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07575/1.311, allocations: 73.46 MB / 0.8333 GB, free: 34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006834/1.318, allocations: 7.022 MB / 0.8401 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005555/1.324, allocations: 5.713 MB / 0.8457 GB, free: 22.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008974/1.325, allocations: 1.116 MB / 0.8468 GB, free: 20.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/1.325, allocations: 81.7 kB / 0.8469 GB, free: 20.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=392): time 6.482e-06/1.325, allocations: 0 / 0.8469 GB, free: 20.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=537): time 0.2846/1.609, allocations: 62.89 MB / 0.9083 GB, free: 179 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/1.609, allocations: 273.5 kB / 0.9085 GB, free: 178.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004511/1.614, allocations: 3.644 MB / 0.9121 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.615, allocations: 25.7 kB / 0.9121 GB, free: 178.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/1.617, allocations: 4.339 MB / 0.9164 GB, free: 176.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/1.618, allocations: 1.867 MB / 0.9182 GB, free: 175.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005635/1.619, allocations: 0 / 0.9182 GB, free: 175.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003763/1.619, allocations: 0.7452 MB / 0.9189 GB, free: 175.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006515/1.626, allocations: 5.701 MB / 0.9245 GB, free: 175.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008382/1.634, allocations: 10.7 MB / 0.9349 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/1.645, allocations: 8.315 MB / 0.943 GB, free: 168.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.086e-05/1.645, allocations: 49.25 kB / 0.9431 GB, free: 168.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.03225/1.677, allocations: 18.75 MB / 0.9614 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.678, allocations: 6.406 kB / 0.9614 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001865/1.678, allocations: 176.2 kB / 0.9616 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009001/1.687, allocations: 3.314 MB / 0.9648 GB, free: 162 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009662/1.696, allocations: 2.392 MB / 0.9672 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02698/1.723, allocations: 24.05 MB / 0.9906 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008173/1.732, allocations: 313.6 kB / 0.9909 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002006/1.734, allocations: 0.6184 MB / 0.9915 GB, free: 146.6 MB / 0.5261 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.002094/1.736, allocations: 0.5762 MB / 0.9921 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/1.737, allocations: 491.6 kB / 0.9926 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0231/1.76, allocations: 14.1 MB / 1.006 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.431e-05/1.76, allocations: 52 kB / 1.006 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.221e-05/1.76, allocations: 12 kB / 1.006 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.794e-05/1.76, allocations: 36.38 kB / 1.006 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04205/1.802, allocations: 26.5 MB / 1.032 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/1.802, allocations: 4 kB / 1.032 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005339/1.808, allocations: 0.8643 MB / 1.033 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01031/1.818, allocations: 3.473 MB / 1.037 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001228/1.819, allocations: 37.31 kB / 1.037 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/1.836, allocations: 19.55 MB / 1.056 GB, free: 91.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/1.836, allocations: 9.016 kB / 1.056 GB, free: 91.31 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03003/1.866, allocations: 22.4 MB / 1.078 GB, free: 68.62 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03816/1.904, allocations: 30.84 MB / 1.108 GB, free: 37.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/1.906, allocations: 0.4947 MB / 1.108 GB, free: 36.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/1.908, allocations: 12 kB / 1.108 GB, free: 36.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004446/1.912, allocations: 211.7 kB / 1.108 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/1.913, allocations: 271.2 kB / 1.109 GB, free: 36.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008599/1.914, allocations: 168 kB / 1.109 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004028/1.918, allocations: 2.376 MB / 1.111 GB, free: 33.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01081/1.929, allocations: 1.797 MB / 1.113 GB, free: 32.07 MB / 0.5261 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.00138/1.93, allocations: 210.1 kB / 1.113 GB, free: 31.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02001/1.95, allocations: 14.88 MB / 1.128 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.95, allocations: 5.688 kB / 1.128 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01282/1.963, allocations: 8.23 MB / 1.136 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1504/2.114, allocations: 355.5 kB / 1.136 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02988/2.143, allocations: 17.39 MB / 1.153 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008519/2.152, allocations: 5.781 MB / 1.159 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/2.152, allocations: 0 / 1.159 GB, free: 166.9 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperParallel_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperParallel.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1)