Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 113.6 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 200 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 51.92 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.0831, allocations: 46.61 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1755/0.2586, allocations: 12.33 MB / 386.8 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008862/0.2675, allocations: 4.437 MB / 391.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/0.27, allocations: 82.56 kB / 391.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005453/0.2755, allocations: 2.903 MB / 394.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.2817, allocations: 2.086 MB / 396.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.2851, allocations: 1.041 MB / 397.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008802/0.294, allocations: 5.331 MB / 402.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008555/0.3026, allocations: 4.056 MB / 406.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004283/0.3069, allocations: 1.769 MB / 408.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004807/0.3117, allocations: 2.403 MB / 410.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001753/0.3135, allocations: 383.3 kB / 411.3 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/0.3169, allocations: 1.261 MB / 412.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003192/0.3201, allocations: 2.21 MB / 414.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004638/0.3248, allocations: 2.478 MB / 417.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.335, allocations: 7.997 MB / 425.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.335, allocations: 4 kB / 425.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.335, allocations: 0 / 425.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002808/0.3353, allocations: 0 / 425.2 MB, free: 12.63 MB / 350.1 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.01328/0.3486, allocations: 5.385 MB / 430.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3487, allocations: 8.031 kB / 430.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02427/0.373, allocations: 3.189 MB / 433.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.3831, allocations: 3.735 MB / 437.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.3835, allocations: 250.3 kB / 437.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/0.3853, allocations: 347.6 kB / 438.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/0.4053, allocations: 10.34 MB / 448.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/0.4055, allocations: 51.59 kB / 448.5 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004306/0.4059, allocations: 151.9 kB / 448.7 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003401/0.4093, allocations: 2.029 MB / 450.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01698/0.4263, allocations: 8.904 MB / 459.6 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05405/0.4804, allocations: 39.63 MB / 499.3 MB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008808/0.4893, allocations: 4.052 MB / 0.4915 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002954/0.4923, allocations: 2.23 MB / 0.4937 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007222/0.493, allocations: 0.6671 MB / 0.4943 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.4931, allocations: 51.5 kB / 0.4944 GB, free: 9.371 MB / 430.1 MB Notification: Performance of pre-optimization done (n=175): time 4.138e-06/0.4931, allocations: 0 / 0.4944 GB, free: 9.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.06519/0.5583, allocations: 22.96 MB / 0.5168 GB, free: 2.258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.5585, allocations: 252.6 kB / 0.5171 GB, free: 1.957 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006356/0.5648, allocations: 4.267 MB / 0.5212 GB, free: 13.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004521/0.5653, allocations: 53.7 kB / 0.5213 GB, free: 13.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002297/0.5676, allocations: 3.198 MB / 0.5244 GB, free: 10.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.5687, allocations: 0.8021 MB / 0.5252 GB, free: 9.559 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002434/0.5712, allocations: 1.289 MB / 0.5264 GB, free: 8.258 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.5713, allocations: 305.1 kB / 0.5267 GB, free: 7.957 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003984/0.5753, allocations: 2.554 MB / 0.5292 GB, free: 5.398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006351/0.5816, allocations: 6.126 MB / 0.5352 GB, free: 13.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/0.5928, allocations: 9.283 MB / 0.5443 GB, free: 2.488 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/0.593, allocations: 36 kB / 0.5443 GB, free: 2.453 MB / 478.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.2077/0.8006, allocations: 10.76 MB / 0.5548 GB, free: 143 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.096e-05/0.8007, allocations: 63.19 kB / 0.5549 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/0.8009, allocations: 123.3 kB / 0.555 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007671/0.8086, allocations: 2.608 MB / 0.5575 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004444/0.8131, allocations: 1.359 MB / 0.5589 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02342/0.8365, allocations: 18.59 MB / 0.577 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005257/0.8418, allocations: 371.4 kB / 0.5774 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/0.843, allocations: 375.5 kB / 0.5777 GB, free: 132.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (731): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.004395/0.8474, allocations: 2.223 MB / 0.5799 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/0.8485, allocations: 384.2 kB / 0.5803 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009422/0.8579, allocations: 5.152 MB / 0.5853 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.434e-05/0.858, allocations: 28.88 kB / 0.5853 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.82e-05/0.858, allocations: 6.562 kB / 0.5853 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/0.8581, allocations: 9.984 kB / 0.5853 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0187/0.8768, allocations: 11.06 MB / 0.5961 GB, free: 120.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/0.8768, allocations: 4 kB / 0.5961 GB, free: 120.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.8783, allocations: 303.5 kB / 0.5964 GB, free: 120.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004666/0.883, allocations: 1.856 MB / 0.5982 GB, free: 118.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003872/0.8834, allocations: 32 kB / 0.5983 GB, free: 118.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.8949, allocations: 10.39 MB / 0.6084 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.895, allocations: 4 kB / 0.6084 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/0.9067, allocations: 8.341 MB / 0.6166 GB, free: 99.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/0.9086, allocations: 0.775 MB / 0.6173 GB, free: 98.81 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008938/0.9095, allocations: 36.88 kB / 0.6174 GB, free: 98.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/0.9115, allocations: 143.8 kB / 0.6175 GB, free: 98.64 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004416/0.912, allocations: 117.1 kB / 0.6176 GB, free: 98.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/0.9122, allocations: 55.98 kB / 0.6177 GB, free: 98.47 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004071/0.9163, allocations: 2.684 MB / 0.6203 GB, free: 95.78 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9163, allocations: 0 / 0.6203 GB, free: 95.78 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005785/0.9221, allocations: 1.208 MB / 0.6215 GB, free: 94.57 MB / 478.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000625/0.9227, allocations: 177.5 kB / 0.6216 GB, free: 94.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009186/0.9319, allocations: 6.676 MB / 0.6282 GB, free: 87.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.932, allocations: 0 / 0.6282 GB, free: 87.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002921/0.9349, allocations: 2.243 MB / 0.6304 GB, free: 85.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003771/0.9387, allocations: 0.566 MB / 0.6309 GB, free: 84.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/0.955, allocations: 10.71 MB / 0.6414 GB, free: 74.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003973/0.959, allocations: 3.533 MB / 0.6448 GB, free: 70.61 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003737/0.9627, allocations: 1.92 MB / 0.6467 GB, free: 68.69 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007138/0.9634, allocations: 259.4 kB / 0.6469 GB, free: 68.43 MB / 478.1 MB Notification: Performance of SimCode: time 8.61e-07/0.9634, allocations: 0 / 0.6469 GB, free: 68.43 MB / 478.1 MB Notification: Performance of Templates: time 0.08012/1.044, allocations: 49.78 MB / 0.6956 GB, free: 18.68 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1)