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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002646/0.002646, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.3 MB / 214.4 MB, free: 1.734 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.0009256/0.0009256, allocations: 86.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.495e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 47.59 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3548/0.4553, allocations: 97.19 MB / 460.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4555, allocations: 83.14 kB / 460.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4634/0.919, allocations: 93.08 MB / 0.5405 GB, free: 89.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.919, allocations: 0 / 0.5405 GB, free: 89.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000327/0.9194, allocations: 93.86 kB / 0.5406 GB, free: 89.12 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01728/0.9367, allocations: 4.507 MB / 0.545 GB, free: 87.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/0.9367, allocations: 9.344 kB / 0.545 GB, free: 87.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02771/0.9645, allocations: 6.73 MB / 0.5516 GB, free: 87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/0.9806, allocations: 6.161 MB / 0.5576 GB, free: 86.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.9809, allocations: 140.6 kB / 0.5578 GB, free: 86.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002213/0.9831, allocations: 262.6 kB / 0.558 GB, free: 86.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01283/0.996, allocations: 6.212 MB / 0.5641 GB, free: 86.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02112/1.017, allocations: 9.44 MB / 0.5733 GB, free: 83.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002786/1.017, allocations: 71.12 kB / 0.5734 GB, free: 83.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008511/1.018, allocations: 25.44 kB / 0.5734 GB, free: 83.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001352/1.02, allocations: 1.013 MB / 0.5744 GB, free: 83.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04635/1.066, allocations: 44.2 MB / 0.6176 GB, free: 52.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/1.07, allocations: 3.198 MB / 0.6207 GB, free: 50.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/1.072, allocations: 1.971 MB / 0.6226 GB, free: 49.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/1.072, allocations: 0.6533 MB / 0.6232 GB, free: 49.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/1.072, allocations: 51.5 kB / 0.6233 GB, free: 48.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 5.22e-06/1.072, allocations: 0 / 0.6233 GB, free: 48.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.03681/1.109, allocations: 18.39 MB / 0.6412 GB, free: 34.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/1.109, allocations: 252.6 kB / 0.6415 GB, free: 33.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005873/1.115, allocations: 3.263 MB / 0.6447 GB, free: 30.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006491/1.116, allocations: 29.7 kB / 0.6447 GB, free: 30.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002025/1.118, allocations: 3.307 MB / 0.6479 GB, free: 27.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.119, allocations: 0.7759 MB / 0.6487 GB, free: 27.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/1.119, allocations: 1.688 kB / 0.6487 GB, free: 27.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00036/1.12, allocations: 0.5648 MB / 0.6492 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/1.122, allocations: 2.141 MB / 0.6513 GB, free: 24.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004043/1.126, allocations: 5.814 MB / 0.657 GB, free: 17.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004285/1.131, allocations: 3.487 MB / 0.6604 GB, free: 14.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.947e-05/1.131, allocations: 40 kB / 0.6605 GB, free: 14.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=812) (initialization): time 0.01577/1.147, allocations: 8.773 MB / 0.669 GB, free: 7.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/1.147, allocations: 60 kB / 0.6691 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.147, allocations: 132.9 kB / 0.6692 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004975/1.152, allocations: 1.958 MB / 0.6711 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004274/1.156, allocations: 1.341 MB / 0.6724 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/1.178, allocations: 14.13 MB / 0.6862 GB, free: 5.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006013/1.184, allocations: 231.3 kB / 0.6864 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.186, allocations: 384 kB / 0.6868 GB, free: 4.605 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 (724): * Single equations (assignments): 718 * 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,80.0%) 33,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.001224/1.187, allocations: 436.7 kB / 0.6872 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3161/1.503, allocations: 4.242 MB / 0.6914 GB, free: 90.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001766/1.505, allocations: 361.6 kB / 0.6917 GB, free: 90.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/1.515, allocations: 3.998 MB / 0.6956 GB, free: 90.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.981e-05/1.515, allocations: 22 kB / 0.6956 GB, free: 90.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.151e-05/1.515, allocations: 7.391 kB / 0.6956 GB, free: 90.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.293e-05/1.515, allocations: 10.09 kB / 0.6957 GB, free: 90.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/1.537, allocations: 8.991 MB / 0.7044 GB, free: 90.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/1.537, allocations: 3.781 kB / 0.7044 GB, free: 90.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/1.538, allocations: 305.5 kB / 0.7047 GB, free: 90.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003655/1.542, allocations: 1.187 MB / 0.7059 GB, free: 90.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003393/1.542, allocations: 12.89 kB / 0.7059 GB, free: 90.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009287/1.552, allocations: 7.036 MB / 0.7128 GB, free: 88.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.552, allocations: 3.938 kB / 0.7128 GB, free: 88.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/1.562, allocations: 6.976 MB / 0.7196 GB, free: 88.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/1.565, allocations: 0.6919 MB / 0.7203 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008597/1.566, allocations: 13.33 kB / 0.7203 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/1.568, allocations: 88.02 kB / 0.7204 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/1.568, allocations: 123.9 kB / 0.7205 GB, free: 88.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.568, allocations: 55.55 kB / 0.7205 GB, free: 88.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003754/1.572, allocations: 2.209 MB / 0.7227 GB, free: 87.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.572, allocations: 0 / 0.7227 GB, free: 87.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006911/1.579, allocations: 0.9824 MB / 0.7236 GB, free: 87.88 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 (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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01192/1.591, allocations: 7.89 MB / 0.7314 GB, free: 84.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01239/1.603, allocations: 5.776 MB / 0.737 GB, free: 82.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.603, allocations: 3.781 kB / 0.737 GB, free: 82.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003822/1.607, allocations: 2.015 MB / 0.739 GB, free: 82.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004246/1.611, allocations: 457 kB / 0.7394 GB, free: 81.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03079/1.642, allocations: 9.836 MB / 0.749 GB, free: 78.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005278/1.647, allocations: 3.621 MB / 0.7525 GB, free: 77.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005274/1.653, allocations: 1.971 MB / 0.7545 GB, free: 77.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003269/1.656, allocations: 2.079 MB / 0.7565 GB, free: 75.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/1.656, allocations: 0 / 0.7565 GB, free: 75.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1488/1.805, allocations: 85.24 MB / 0.8397 GB, free: 3.656 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/1.805, allocations: 166.9 kB / 0.8399 GB, free: 3.461 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.097/6.902, allocations: 0 / 0.8399 GB, free: 3.461 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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat