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.001099/0.001099, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 223.1 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008551/0.0008551, allocations: 98.58 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002403/0.0002406, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2164, allocations: 47.57 MB / 375.9 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.3231, allocations: 97.69 MB / 473.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.3235, allocations: 103.9 kB / 473.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4199/0.7434, allocations: 94.85 MB / 0.5552 GB, free: 61.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.7435, allocations: 0 / 0.5552 GB, free: 61.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002459/0.7437, allocations: 87.94 kB / 0.5553 GB, free: 61.59 MB / 378.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.01328/0.757, allocations: 4.907 MB / 0.5601 GB, free: 56.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.7571, allocations: 12.03 kB / 0.5601 GB, free: 56.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002911/0.76, allocations: 0.7908 MB / 0.5609 GB, free: 55.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02372/0.7837, allocations: 6.718 MB / 0.5674 GB, free: 49.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01601/0.7998, allocations: 6.212 MB / 0.5735 GB, free: 42.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.8001, allocations: 324.6 kB / 0.5738 GB, free: 42.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001996/0.8021, allocations: 451.7 kB / 0.5743 GB, free: 42.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01743/0.8196, allocations: 10.51 MB / 0.5845 GB, free: 30.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.8198, allocations: 67.47 kB / 0.5846 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004877/0.8203, allocations: 207.9 kB / 0.5848 GB, free: 30.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009696/0.8212, allocations: 1.011 MB / 0.5858 GB, free: 29.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.8343, allocations: 8.688 MB / 0.5942 GB, free: 20.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04383/0.8782, allocations: 46.16 MB / 0.6393 GB, free: 4.961 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00826/0.8865, allocations: 3.994 MB / 0.6432 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/0.8872, allocations: 0.6555 MB / 0.6439 GB, free: 48 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1905/1.078, allocations: 53.73 kB / 0.6439 GB, free: 93.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 2.129e-05/1.078, allocations: 0 / 0.6439 GB, free: 93.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.05143/1.129, allocations: 21.3 MB / 0.6647 GB, free: 90.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.768e-05/1.129, allocations: 255.5 kB / 0.665 GB, free: 90.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006769/1.136, allocations: 3.751 MB / 0.6686 GB, free: 89.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005135/1.137, allocations: 57.02 kB / 0.6687 GB, free: 89.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001951/1.139, allocations: 3.255 MB / 0.6719 GB, free: 88.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000957/1.14, allocations: 0.7941 MB / 0.6726 GB, free: 87.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/1.14, allocations: 124.7 kB / 0.6727 GB, free: 87.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000255/1.14, allocations: 0.5645 MB / 0.6733 GB, free: 87.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003298/1.144, allocations: 2.256 MB / 0.6755 GB, free: 87.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004669/1.148, allocations: 5.808 MB / 0.6812 GB, free: 82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004708/1.153, allocations: 3.555 MB / 0.6846 GB, free: 80.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.891e-05/1.153, allocations: 39.19 kB / 0.6847 GB, free: 80.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01874/1.172, allocations: 9.532 MB / 0.694 GB, free: 77.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/1.172, allocations: 60.66 kB / 0.694 GB, free: 77.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001823/1.172, allocations: 125.4 kB / 0.6942 GB, free: 77.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005692/1.178, allocations: 1.99 MB / 0.6961 GB, free: 77.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004127/1.182, allocations: 1.301 MB / 0.6974 GB, free: 77.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/1.199, allocations: 15.53 MB / 0.7125 GB, free: 64.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005348/1.204, allocations: 349 kB / 0.7129 GB, free: 64.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/1.205, allocations: 366.2 kB / 0.7132 GB, free: 64.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 (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 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.004955/1.21, allocations: 2.237 MB / 0.7154 GB, free: 62.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/1.211, allocations: 383 kB / 0.7158 GB, free: 61.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008027/1.219, allocations: 4.194 MB / 0.7199 GB, free: 58.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.518e-05/1.219, allocations: 24 kB / 0.7199 GB, free: 58.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/1.219, allocations: 8 kB / 0.7199 GB, free: 58.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/1.219, allocations: 8.953 kB / 0.7199 GB, free: 58.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/1.239, allocations: 10 MB / 0.7297 GB, free: 50.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/1.239, allocations: 7.625 kB / 0.7297 GB, free: 50.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/1.24, allocations: 307.2 kB / 0.73 GB, free: 49.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003191/1.244, allocations: 1.215 MB / 0.7312 GB, free: 49.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002494/1.244, allocations: 39.42 kB / 0.7312 GB, free: 49.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009/1.253, allocations: 7.868 MB / 0.7389 GB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.253, allocations: 0 / 0.7389 GB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/1.264, allocations: 7.226 MB / 0.7459 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002464/1.266, allocations: 0.7285 MB / 0.7467 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.267, allocations: 39.95 kB / 0.7467 GB, free: 35.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/1.269, allocations: 119.8 kB / 0.7468 GB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/1.27, allocations: 128.5 kB / 0.7469 GB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.27, allocations: 55.98 kB / 0.747 GB, free: 34.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003875/1.274, allocations: 2.647 MB / 0.7496 GB, free: 32.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.274, allocations: 0 / 0.7496 GB, free: 32.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005475/1.279, allocations: 1.138 MB / 0.7507 GB, free: 31.08 MB / 410.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 () * 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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009846/1.289, allocations: 8.165 MB / 0.7587 GB, free: 22.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008262/1.297, allocations: 6.028 MB / 0.7645 GB, free: 16.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.297, allocations: 0 / 0.7645 GB, free: 16.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002931/1.3, allocations: 2.106 MB / 0.7666 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003418/1.304, allocations: 0.5374 MB / 0.7671 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2595/1.563, allocations: 124.9 MB / 0.8891 GB, free: 50.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004557/1.568, allocations: 3.629 MB / 0.8926 GB, free: 49.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004766/1.573, allocations: 1.934 MB / 0.8945 GB, free: 49.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003464/1.576, allocations: 2.085 MB / 0.8965 GB, free: 49.56 MB / 442.7 MB Notification: Performance of SimCode: time 1.322e-06/1.576, allocations: 2.469 kB / 0.8965 GB, free: 49.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3007/1.877, allocations: 91.36 MB / 0.9858 GB, free: 108.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/1.877, allocations: 236.2 kB / 0.986 GB, free: 108 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.236/6.113, allocations: 0 / 0.986 GB, free: 108 MB / 458.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