Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",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.001004/0.001004, allocations: 179.4 kB / 8.476 MB, free: 1.875 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.129/1.129, allocations: 205.2 MB / 214.1 MB, free: 5.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000867/0.000867, allocations: 94.25 kB / 262.1 MB, free: 5.102 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1554/0.1563, allocations: 52.97 MB / 315.1 MB, free: 41.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06465/0.2209, allocations: 47.57 MB / 362.6 MB, free: 9.82 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2203/0.4413, allocations: 96.86 MB / 459.5 MB, free: 7.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.4415, allocations: 90.38 kB / 459.6 MB, free: 7.004 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.2578/0.6993, allocations: 96.25 MB / 0.5428 GB, free: 2.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.6994, allocations: 12 kB / 0.5428 GB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02723/0.7266, allocations: 6.369 MB / 0.549 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/0.7427, allocations: 6.243 MB / 0.5551 GB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.743, allocations: 140 kB / 0.5553 GB, free: 5.934 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/0.7446, allocations: 263.8 kB / 0.5555 GB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01148/0.7561, allocations: 6.421 MB / 0.5618 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/0.774, allocations: 9.657 MB / 0.5712 GB, free: 4.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002468/0.7742, allocations: 59.45 kB / 0.5713 GB, free: 4.566 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/0.7754, allocations: 28 kB / 0.5713 GB, free: 4.539 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001363/0.7768, allocations: 1.097 MB / 0.5724 GB, free: 3.438 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1453/0.9222, allocations: 45.35 MB / 0.6167 GB, free: 110.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.9253, allocations: 3.323 MB / 0.6199 GB, free: 109.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.9273, allocations: 2.247 MB / 0.6221 GB, free: 109.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008479/0.9358, allocations: 7.015 MB / 0.629 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.9358, allocations: 51.62 kB / 0.629 GB, free: 107.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=169): time 3.767e-06/0.9358, allocations: 2.844 kB / 0.629 GB, free: 107.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=208): time 0.03724/0.9731, allocations: 19.45 MB / 0.648 GB, free: 100.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.9732, allocations: 255 kB / 0.6482 GB, free: 100.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003883/0.977, allocations: 3.311 MB / 0.6515 GB, free: 99.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.9772, allocations: 29.58 kB / 0.6515 GB, free: 99.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.9784, allocations: 3.008 MB / 0.6544 GB, free: 97.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005386/0.9789, allocations: 0.7667 MB / 0.6552 GB, free: 96.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.9792, allocations: 0 / 0.6552 GB, free: 96.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002593/0.9794, allocations: 0.5713 MB / 0.6558 GB, free: 96.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/0.982, allocations: 2.222 MB / 0.6579 GB, free: 95.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003822/0.9858, allocations: 5.909 MB / 0.6637 GB, free: 89.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/0.9897, allocations: 3.619 MB / 0.6672 GB, free: 88.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.537e-05/0.9898, allocations: 38.81 kB / 0.6673 GB, free: 88.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01536/1.005, allocations: 8.83 MB / 0.6759 GB, free: 85.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.005, allocations: 4 kB / 0.6759 GB, free: 85.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001008/1.005, allocations: 135 kB / 0.676 GB, free: 85.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005551/1.011, allocations: 1.932 MB / 0.6779 GB, free: 84.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004034/1.015, allocations: 1.336 MB / 0.6792 GB, free: 83.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/1.031, allocations: 13.48 MB / 0.6924 GB, free: 70.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004843/1.036, allocations: 193 kB / 0.6926 GB, free: 70.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007995/1.037, allocations: 379.3 kB / 0.6929 GB, free: 70.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 33 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (722): * Single equations (assignments): 716 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(4,87.5%) 10} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.000795/1.038, allocations: 445 kB / 0.6934 GB, free: 69.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005346/1.038, allocations: 359.4 kB / 0.6937 GB, free: 69.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007124/1.045, allocations: 4.113 MB / 0.6977 GB, free: 66.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.702e-05/1.045, allocations: 20 kB / 0.6977 GB, free: 66.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/1.045, allocations: 4 kB / 0.6977 GB, free: 66.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/1.045, allocations: 14.27 kB / 0.6977 GB, free: 66.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/1.06, allocations: 8.872 MB / 0.7064 GB, free: 58.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.06, allocations: 3.938 kB / 0.7064 GB, free: 58.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.061, allocations: 285.4 kB / 0.7067 GB, free: 58.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/1.065, allocations: 1.153 MB / 0.7078 GB, free: 57.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002034/1.065, allocations: 4 kB / 0.7078 GB, free: 57.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00849/1.074, allocations: 6.8 MB / 0.7145 GB, free: 51.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.074, allocations: 3.938 kB / 0.7145 GB, free: 51.87 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009521/1.083, allocations: 7.181 MB / 0.7215 GB, free: 45.55 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01183/1.095, allocations: 9.946 MB / 0.7312 GB, free: 36.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.097, allocations: 0.6998 MB / 0.7319 GB, free: 36.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005804/1.097, allocations: 0 / 0.7319 GB, free: 36.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/1.099, allocations: 57.56 kB / 0.7319 GB, free: 35.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/1.099, allocations: 100.8 kB / 0.732 GB, free: 35.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/1.099, allocations: 52 kB / 0.7321 GB, free: 35.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002983/1.102, allocations: 2.256 MB / 0.7343 GB, free: 33.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005389/1.108, allocations: 0.9745 MB / 0.7352 GB, free: 32.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 151 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000436/1.108, allocations: 141.1 kB / 0.7354 GB, free: 32.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00805/1.116, allocations: 5.889 MB / 0.7411 GB, free: 26.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.116, allocations: 0 / 0.7411 GB, free: 26.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003166/1.12, allocations: 2.064 MB / 0.7431 GB, free: 24.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/1.122, allocations: 447.5 kB / 0.7436 GB, free: 24.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/1.137, allocations: 8.729 MB / 0.7521 GB, free: 15.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004283/1.141, allocations: 3.898 MB / 0.7559 GB, free: 11.73 MB / 426.7 MB Notification: Performance of SimCode: time 8.21e-07/1.141, allocations: 4 kB / 0.7559 GB, free: 11.72 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1)