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.0007749/0.000775, allocations: 92.97 kB / 16.31 MB, free: 5.602 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.0008386/0.0008387, allocations: 183.7 kB / 17.21 MB, free: 5.52 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.333/1.333, allocations: 205.4 MB / 223.4 MB, free: 13.14 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.0004873/0.0004874, allocations: 12 kB / 280.1 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08257/0.08307, allocations: 47.58 MB / 327.7 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04262/0.1257, allocations: 46.02 MB / 373.7 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1883/0.3141, allocations: 10.35 MB / 384.1 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008073/0.3222, allocations: 226.8 kB / 384.3 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007163/0.3294, allocations: 2.386 MB / 386.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01827/0.3477, allocations: 7.117 MB / 393.8 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.3508, allocations: 0.6951 MB / 394.5 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.04051/0.3913, allocations: 34.14 MB / 428.7 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00731/0.3986, allocations: 4.697 MB / 433.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.4015, allocations: 1.418 MB / 434.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003385/0.4049, allocations: 2.219 MB / 437 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008858/0.4058, allocations: 156 kB / 437.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.4082, allocations: 0.9447 MB / 438.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002437/0.4107, allocations: 1.911 MB / 440 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.4122, allocations: 0.909 MB / 440.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006305/0.4185, allocations: 6.146 MB / 447.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4186, allocations: 0 / 447.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4186, allocations: 0 / 447.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002414/0.4188, allocations: 0 / 447.1 MB, free: 6.859 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.009676/0.4285, allocations: 4.484 MB / 451.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4285, allocations: 8.031 kB / 451.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02188/0.4504, allocations: 3.272 MB / 454.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007708/0.4582, allocations: 3.604 MB / 458.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.4584, allocations: 251.7 kB / 458.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000989/0.4594, allocations: 340.3 kB / 459 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01667/0.4761, allocations: 10.34 MB / 469.3 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001651/0.4763, allocations: 50.33 kB / 469.4 MB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004435/0.4767, allocations: 161.1 kB / 469.5 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003125/0.4799, allocations: 2.027 MB / 471.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.4957, allocations: 8.875 MB / 480.4 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05122/0.5469, allocations: 39.83 MB / 0.5081 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009276/0.5562, allocations: 4.063 MB / 0.512 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003219/0.5595, allocations: 2.232 MB / 0.5142 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007139/0.5602, allocations: 0.6502 MB / 0.5149 GB, free: 9.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.5603, allocations: 55.5 kB / 0.5149 GB, free: 9.695 MB / 430.1 MB Notification: Performance of pre-optimization done (n=175): time 3.837e-06/0.5603, allocations: 0 / 0.5149 GB, free: 9.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.05713/0.6174, allocations: 22.92 MB / 0.5373 GB, free: 2.652 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.6176, allocations: 256.6 kB / 0.5375 GB, free: 2.348 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1695/0.7871, allocations: 4.235 MB / 0.5417 GB, free: 164.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005327/0.7877, allocations: 55.42 kB / 0.5417 GB, free: 164.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001965/0.7897, allocations: 3.199 MB / 0.5449 GB, free: 163 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007738/0.7904, allocations: 0.8019 MB / 0.5456 GB, free: 162.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.7907, allocations: 126.5 kB / 0.5458 GB, free: 162.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003256/0.7911, allocations: 0.569 MB / 0.5463 GB, free: 162.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003858/0.7949, allocations: 2.528 MB / 0.5488 GB, free: 161.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004985/0.7999, allocations: 6.106 MB / 0.5548 GB, free: 155.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004763/0.8047, allocations: 3.849 MB / 0.5585 GB, free: 154.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.203e-05/0.8048, allocations: 38.06 kB / 0.5585 GB, free: 154.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01598/0.8208, allocations: 10.7 MB / 0.569 GB, free: 150.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-05/0.8209, allocations: 56.88 kB / 0.5691 GB, free: 150.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/0.821, allocations: 122.9 kB / 0.5692 GB, free: 150.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006203/0.8272, allocations: 2.628 MB / 0.5717 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004067/0.8313, allocations: 1.352 MB / 0.5731 GB, free: 149.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/0.8495, allocations: 17.26 MB / 0.5899 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/0.8543, allocations: 388.5 kB / 0.5903 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005532/0.8549, allocations: 368 kB / 0.5906 GB, free: 131.7 MB / 446.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 (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 {(3,100.0%) 35,(2,100.0%) 12} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.00283/0.8577, allocations: 2.221 MB / 0.5928 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005219/0.8583, allocations: 385.3 kB / 0.5932 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008069/0.8663, allocations: 5.137 MB / 0.5982 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.8664, allocations: 24 kB / 0.5982 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.8664, allocations: 8 kB / 0.5982 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.8664, allocations: 11.95 kB / 0.5982 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.8814, allocations: 11.1 MB / 0.6091 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.8814, allocations: 0 / 0.6091 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.8827, allocations: 307.5 kB / 0.6094 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004251/0.8869, allocations: 1.846 MB / 0.6112 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/0.8871, allocations: 39.98 kB / 0.6112 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/0.8978, allocations: 9.693 MB / 0.6207 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.8978, allocations: 2.719 kB / 0.6207 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.9088, allocations: 8.334 MB / 0.6288 GB, free: 92.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/0.9106, allocations: 0.781 MB / 0.6296 GB, free: 91.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008843/0.9115, allocations: 32 kB / 0.6296 GB, free: 91.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.9132, allocations: 146.9 kB / 0.6297 GB, free: 91.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/0.9135, allocations: 117.1 kB / 0.6299 GB, free: 91.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.9137, allocations: 52 kB / 0.6299 GB, free: 91.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003201/0.9169, allocations: 2.668 MB / 0.6325 GB, free: 88.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9169, allocations: 0 / 0.6325 GB, free: 88.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004633/0.9215, allocations: 1.208 MB / 0.6337 GB, free: 87.4 MB / 446.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 (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 {(3,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003614/0.9219, allocations: 170.9 kB / 0.6339 GB, free: 87.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008068/0.93, allocations: 6.597 MB / 0.6403 GB, free: 80.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.93, allocations: 0 / 0.6403 GB, free: 80.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002627/0.9326, allocations: 2.233 MB / 0.6425 GB, free: 78.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/0.9355, allocations: 0.534 MB / 0.643 GB, free: 77.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.9509, allocations: 12.53 MB / 0.6552 GB, free: 65.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003243/0.9542, allocations: 3.542 MB / 0.6587 GB, free: 61.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004266/0.9585, allocations: 1.92 MB / 0.6606 GB, free: 59.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/0.9592, allocations: 255.4 kB / 0.6608 GB, free: 59.53 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.9593, allocations: 4 kB / 0.6608 GB, free: 59.52 MB / 446.1 MB Notification: Performance of Templates: time 0.2162/1.175, allocations: 48.81 MB / 0.7085 GB, free: 152.6 MB / 446.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)