Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001799/0.001799, allocations: 196.5 kB / 14.16 MB, free: 1.16 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: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008867/0.0008867, allocations: 94.45 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.777e-05, allocations: 4 kB / 350.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.336/0.4383, allocations: 77.26 MB / 479.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.4385, allocations: 80.09 kB / 479.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00292/0.4415, allocations: 1.262 MB / 480.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4415, allocations: 0.7188 kB / 480.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4415, allocations: 11.94 kB / 480.7 MB, free: 11.01 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002448/0.4417, allocations: 354.1 kB / 481.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4418, allocations: 8.031 kB / 481.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.4418, allocations: 39.73 kB / 481.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.4419, allocations: 11.16 kB / 481.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.442, allocations: 179.6 kB / 481.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.442, allocations: 9.422 kB / 481.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.4421, allocations: 4.75 kB / 481.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.4423, allocations: 126.8 kB / 481.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4423, allocations: 0 / 481.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.4423, allocations: 0.6094 kB / 481.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4423, allocations: 4 kB / 481.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.81e-05/0.4424, allocations: 15.06 kB / 481.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.4425, allocations: 180.3 kB / 481.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.4426, allocations: 66.86 kB / 481.7 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.4427, allocations: 44.44 kB / 481.8 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.4427, allocations: 0 / 481.8 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.4427, allocations: 34.5 kB / 481.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.4427, allocations: 0.75 kB / 481.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.00014/0.4429, allocations: 77.08 kB / 481.9 MB, free: 9.812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.4429, allocations: 62.7 kB / 481.9 MB, free: 9.742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/0.443, allocations: 121.5 kB / 482.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.443, allocations: 29.45 kB / 482.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.907e-05/0.443, allocations: 83.95 kB / 482.2 MB, free: 9.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.443, allocations: 4 kB / 482.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.4431, allocations: 0 / 482.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.4431, allocations: 319.6 kB / 482.5 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.4431, allocations: 15.69 kB / 482.5 MB, free: 9.176 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.4432, allocations: 50.62 kB / 482.5 MB, free: 9.105 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.4432, allocations: 23.61 kB / 482.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4432, allocations: 0 / 482.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.893e-05/0.4433, allocations: 84.72 kB / 482.6 MB, free: 9.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4433, allocations: 11.64 kB / 482.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4434, allocations: 4.25 kB / 482.7 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4434, allocations: 4 kB / 482.7 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.4434, allocations: 29.12 kB / 482.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4435, allocations: 0 / 482.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.4435, allocations: 4 kB / 482.7 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.4435, allocations: 4.625 kB / 482.7 MB, free: 8.957 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.4436, allocations: 113.6 kB / 482.8 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/0.4436, allocations: 68.53 kB / 482.9 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.4437, allocations: 16.33 kB / 482.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4437, allocations: 0 / 482.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4437, allocations: 4 kB / 482.9 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4437, allocations: 3.984 kB / 482.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.186e-05/0.4438, allocations: 173.3 kB / 483.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4438, allocations: 0 / 483.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.4438, allocations: 11.98 kB / 483.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4438, allocations: 0 / 483.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.4439, allocations: 8.375 kB / 483.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4439, allocations: 3.953 kB / 483.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4439, allocations: 0 / 483.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.447e-05/0.444, allocations: 107.9 kB / 483.2 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.444, allocations: 98.09 kB / 483.3 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.444, allocations: 4 kB / 483.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.4441, allocations: 4.438 kB / 483.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-06/0.4441, allocations: 3.953 kB / 483.3 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.4441, allocations: 0 / 483.3 MB, free: 8.305 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.544e-05/0.4441, allocations: 108.3 kB / 483.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4441, allocations: 4 kB / 483.4 MB, free: 8.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002025/0.4443, allocations: 7.688 kB / 483.4 MB, free: 8.199 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002866/0.4446, allocations: 0.6567 MB / 484.1 MB, free: 7.535 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.858e-05/0.4448, allocations: 36.62 kB / 484.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4448, allocations: 0.5625 kB / 484.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.4448, allocations: 0 / 484.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.445, allocations: 49.08 kB / 484.2 MB, free: 7.473 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.4453, allocations: 145.9 kB / 484.3 MB, free: 7.309 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.4454, allocations: 0.7004 MB / 485 MB, free: 6.582 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.376e-05/0.4454, allocations: 3.984 kB / 485 MB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.4455, allocations: 18.38 kB / 485 MB, free: 6.566 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4455, allocations: 0 / 485 MB, free: 6.566 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.4574, allocations: 1.469 MB / 486.5 MB, free: 5.316 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001341/0.4576, allocations: 171.5 kB / 486.7 MB, free: 5.09 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/1.993, allocations: 2.531 kB / 486.7 MB, free: 5.09 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat