Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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) 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001055/0.001055, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.15/1.15, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008652/0.0008652, allocations: 102.4 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08913/0.09002, allocations: 56.91 MB / 343.2 MB, free: 8.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08087/0.1709, allocations: 51.47 MB / 394.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2199/0.3909, allocations: 98.41 MB / 493.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.3911, allocations: 87.95 kB / 493.2 MB, free: 11 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.3533/0.7445, allocations: 97.35 MB / 0.5767 GB, free: 125 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.7445, allocations: 16.34 kB / 0.5767 GB, free: 125 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02263/0.7671, allocations: 6.325 MB / 0.5829 GB, free: 124.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.7773, allocations: 5.204 MB / 0.588 GB, free: 124.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/0.7774, allocations: 137.5 kB / 0.5881 GB, free: 124.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000636/0.778, allocations: 253 kB / 0.5884 GB, free: 124.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007475/0.7855, allocations: 6.188 MB / 0.5944 GB, free: 124.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.7959, allocations: 9.383 MB / 0.6036 GB, free: 121.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.7961, allocations: 66.55 kB / 0.6036 GB, free: 121.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004322/0.7965, allocations: 27.5 kB / 0.6037 GB, free: 121.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009109/0.7974, allocations: 1.042 MB / 0.6047 GB, free: 121.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0328/0.8302, allocations: 44.46 MB / 0.6481 GB, free: 92.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.8332, allocations: 3.278 MB / 0.6513 GB, free: 91.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.8351, allocations: 2.212 MB / 0.6535 GB, free: 90.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008051/0.8431, allocations: 6.851 MB / 0.6602 GB, free: 86.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.8432, allocations: 52.56 kB / 0.6602 GB, free: 86.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=160): time 3.436e-06/0.8432, allocations: 0 / 0.6602 GB, free: 86.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=199): time 0.0365/0.8797, allocations: 18.98 MB / 0.6787 GB, free: 78.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.8798, allocations: 255.2 kB / 0.679 GB, free: 78.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.8834, allocations: 3.229 MB / 0.6821 GB, free: 77.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.8836, allocations: 29.64 kB / 0.6822 GB, free: 77.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009915/0.8846, allocations: 2.921 MB / 0.685 GB, free: 74.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004675/0.8851, allocations: 0.7383 MB / 0.6857 GB, free: 74.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.8853, allocations: 0 / 0.6857 GB, free: 74.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.8855, allocations: 0.5587 MB / 0.6863 GB, free: 73.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002441/0.888, allocations: 2.167 MB / 0.6884 GB, free: 73.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003352/0.8913, allocations: 5.749 MB / 0.694 GB, free: 67.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003569/0.8949, allocations: 3.521 MB / 0.6975 GB, free: 66.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.522e-05/0.895, allocations: 36.97 kB / 0.6975 GB, free: 66.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01367/0.9086, allocations: 8.616 MB / 0.7059 GB, free: 59.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9087, allocations: 4 kB / 0.7059 GB, free: 59.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.859e-05/0.9088, allocations: 132.2 kB / 0.706 GB, free: 59.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00541/0.9142, allocations: 1.907 MB / 0.7079 GB, free: 57.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.9178, allocations: 1.288 MB / 0.7092 GB, free: 56.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/0.9346, allocations: 13.63 MB / 0.7225 GB, free: 44.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/0.9391, allocations: 189.3 kB / 0.7226 GB, free: 44.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005345/0.9396, allocations: 373.4 kB / 0.723 GB, free: 43.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (697): * Single equations (assignments): 691 * 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 {(5,72.0%) 33,(3,88.9%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006418/0.9403, allocations: 416.6 kB / 0.7234 GB, free: 43.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/0.9407, allocations: 355.4 kB / 0.7237 GB, free: 42.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006827/0.9476, allocations: 4.003 MB / 0.7276 GB, free: 39.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/0.9476, allocations: 16 kB / 0.7277 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.9476, allocations: 11.84 kB / 0.7277 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.9477, allocations: 10.7 kB / 0.7277 GB, free: 39.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.9609, allocations: 8.634 MB / 0.7361 GB, free: 32.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.9609, allocations: 4 kB / 0.7361 GB, free: 32.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.9623, allocations: 267.8 kB / 0.7364 GB, free: 32.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003488/0.9658, allocations: 1.155 MB / 0.7375 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/0.966, allocations: 7.281 kB / 0.7375 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008767/0.9748, allocations: 6.796 MB / 0.7441 GB, free: 25.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9748, allocations: 7.938 kB / 0.7442 GB, free: 25.51 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009079/0.9839, allocations: 7.017 MB / 0.751 GB, free: 19.36 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01129/0.9952, allocations: 9.712 MB / 0.7605 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006446/0.9959, allocations: 387.5 kB / 0.7609 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004933/0.9964, allocations: 4 kB / 0.7609 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.9978, allocations: 60.75 kB / 0.7609 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.998, allocations: 91.23 kB / 0.761 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/0.9982, allocations: 48 kB / 0.7611 GB, free: 10.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002796/1.001, allocations: 2.198 MB / 0.7632 GB, free: 8.195 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004942/1.006, allocations: 0.9478 MB / 0.7641 GB, free: 7.254 MB / 442.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 (145): * Single equations (assignments): 141 * 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.0003697/1.006, allocations: 152.9 kB / 0.7643 GB, free: 7.102 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007338/1.014, allocations: 5.72 MB / 0.7699 GB, free: 1.387 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.014, allocations: 0 / 0.7699 GB, free: 1.387 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1168/1.131, allocations: 2.006 MB / 0.7718 GB, free: 113.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/1.133, allocations: 461.8 kB / 0.7723 GB, free: 113.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/1.146, allocations: 8.461 MB / 0.7805 GB, free: 112.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003784/1.15, allocations: 3.79 MB / 0.7842 GB, free: 111.4 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/1.15, allocations: 0 / 0.7842 GB, free: 111.4 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1)