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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008301/0.0008301, allocations: 99.39 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002178/0.0002178, allocations: 4 kB / 358 MB, free: 9.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2357, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.3604, allocations: 99.22 MB / 0.4968 GB, free: 7.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.3607, allocations: 91.95 kB / 0.4969 GB, free: 7.258 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4296/0.7904, allocations: 95.94 MB / 0.5906 GB, free: 19.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7904, allocations: 0 / 0.5906 GB, free: 19.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000292/0.7907, allocations: 84 kB / 0.5907 GB, free: 19.37 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01481/0.8055, allocations: 4.835 MB / 0.5954 GB, free: 14.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.8056, allocations: 8.031 kB / 0.5954 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002869/0.8085, allocations: 0.7624 MB / 0.5961 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02308/0.8316, allocations: 6.702 MB / 0.6027 GB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.8455, allocations: 5.193 MB / 0.6078 GB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003271/0.8458, allocations: 320.3 kB / 0.6081 GB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/0.8479, allocations: 439.7 kB / 0.6085 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02525/0.8732, allocations: 10.22 MB / 0.6185 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004374/0.8737, allocations: 63.42 kB / 0.6185 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002038/0.8758, allocations: 211.9 kB / 0.6187 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002193/0.878, allocations: 0.9718 MB / 0.6197 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02589/0.9039, allocations: 8.401 MB / 0.6279 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2697/1.174, allocations: 45.12 MB / 0.6719 GB, free: 89.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007498/1.181, allocations: 3.884 MB / 0.6757 GB, free: 89.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/1.182, allocations: 0.6505 MB / 0.6764 GB, free: 88.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/1.182, allocations: 55.03 kB / 0.6764 GB, free: 88.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=166): time 4.89e-06/1.182, allocations: 2.625 kB / 0.6764 GB, free: 88.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=201): time 0.04659/1.229, allocations: 20.81 MB / 0.6967 GB, free: 85.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/1.229, allocations: 259.2 kB / 0.697 GB, free: 85.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00414/1.233, allocations: 3.664 MB / 0.7006 GB, free: 84.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/1.233, allocations: 57.52 kB / 0.7006 GB, free: 84.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/1.234, allocations: 3.173 MB / 0.7037 GB, free: 83.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005577/1.235, allocations: 0.7666 MB / 0.7045 GB, free: 82.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/1.235, allocations: 119.6 kB / 0.7046 GB, free: 82.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002455/1.235, allocations: 0.5506 MB / 0.7051 GB, free: 82.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/1.238, allocations: 2.192 MB / 0.7073 GB, free: 82.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003904/1.242, allocations: 5.663 MB / 0.7128 GB, free: 77.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/1.246, allocations: 3.46 MB / 0.7162 GB, free: 77.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.399e-05/1.246, allocations: 35.28 kB / 0.7162 GB, free: 77.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.015/1.261, allocations: 9.33 MB / 0.7253 GB, free: 75.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/1.261, allocations: 60.66 kB / 0.7254 GB, free: 75.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/1.261, allocations: 124.2 kB / 0.7255 GB, free: 75.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005274/1.266, allocations: 1.974 MB / 0.7274 GB, free: 75.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003918/1.27, allocations: 1.26 MB / 0.7286 GB, free: 74.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/1.288, allocations: 15.53 MB / 0.7438 GB, free: 66.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004863/1.293, allocations: 334.3 kB / 0.7441 GB, free: 65.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/1.294, allocations: 361.1 kB / 0.7445 GB, free: 65.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (675): * Single equations (assignments): 669 * 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.004265/1.298, allocations: 2.173 MB / 0.7466 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009445/1.299, allocations: 379.1 kB / 0.747 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006987/1.306, allocations: 4.068 MB / 0.7509 GB, free: 60 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.658e-05/1.306, allocations: 22.81 kB / 0.751 GB, free: 59.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.306, allocations: 11.61 kB / 0.751 GB, free: 59.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/1.306, allocations: 10.7 kB / 0.751 GB, free: 59.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/1.323, allocations: 9.734 MB / 0.7605 GB, free: 52.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/1.323, allocations: 2.562 kB / 0.7605 GB, free: 52.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/1.324, allocations: 274.7 kB / 0.7607 GB, free: 51.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003111/1.327, allocations: 1.224 MB / 0.7619 GB, free: 51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/1.328, allocations: 28 kB / 0.762 GB, free: 50.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009126/1.337, allocations: 7.866 MB / 0.7696 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.337, allocations: 7.891 kB / 0.7697 GB, free: 44.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009234/1.346, allocations: 7.044 MB / 0.7765 GB, free: 38.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/1.348, allocations: 428.9 kB / 0.7769 GB, free: 37.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003809/1.348, allocations: 41.36 kB / 0.777 GB, free: 37.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.35, allocations: 116.7 kB / 0.7771 GB, free: 37.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000329/1.35, allocations: 113.8 kB / 0.7772 GB, free: 37.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.35, allocations: 49.64 kB / 0.7772 GB, free: 37.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003797/1.354, allocations: 2.587 MB / 0.7798 GB, free: 35.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.354, allocations: 0 / 0.7798 GB, free: 35.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004713/1.359, allocations: 1.116 MB / 0.7809 GB, free: 34.16 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 143 * 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.008956/1.368, allocations: 7.986 MB / 0.7887 GB, free: 27.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008177/1.376, allocations: 5.887 MB / 0.7944 GB, free: 21.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.376, allocations: 0 / 0.7944 GB, free: 21.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002696/1.379, allocations: 2.051 MB / 0.7964 GB, free: 19.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/1.381, allocations: 0.5144 MB / 0.7969 GB, free: 19.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3086/1.69, allocations: 121.7 MB / 0.9158 GB, free: 62.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003356/1.693, allocations: 3.54 MB / 0.9193 GB, free: 61.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004409/1.698, allocations: 1.887 MB / 0.9211 GB, free: 61.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/1.7, allocations: 2.019 MB / 0.9231 GB, free: 61.61 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/1.7, allocations: 0 / 0.9231 GB, free: 61.61 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/1.814, allocations: 89.19 MB / 1.01 GB, free: 3.07 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/1.815, allocations: 239.3 kB / 1.01 GB, free: 2.828 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.286/6.101, allocations: 0 / 1.01 GB, free: 2.828 MB / 474.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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat