Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 196.9 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.553/1.553, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009781/0.0009782, allocations: 88.31 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.188e-05, allocations: 4 kB / 350.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09666/0.09671, allocations: 51.47 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3183/0.415, allocations: 78.35 MB / 480.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.4153, allocations: 77.58 kB / 480.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004664/0.42, allocations: 1.793 MB / 482.3 MB, free: 9.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.42, allocations: 0 / 482.3 MB, free: 9.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.4201, allocations: 4 kB / 482.3 MB, free: 9.535 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003426/0.4204, allocations: 373.2 kB / 482.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4205, allocations: 12.03 kB / 482.7 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.4205, allocations: 42.05 kB / 482.8 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.4206, allocations: 22.97 kB / 482.8 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.4208, allocations: 199.1 kB / 483 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.4208, allocations: 6.422 kB / 483 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.4208, allocations: 8 kB / 483 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.4211, allocations: 131.3 kB / 483.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4211, allocations: 7.234 kB / 483.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.4211, allocations: 0 / 483.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4211, allocations: 0 / 483.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.853e-05/0.4212, allocations: 26.75 kB / 483.1 MB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.4216, allocations: 308.5 kB / 483.4 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.4218, allocations: 147.6 kB / 483.6 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.4218, allocations: 37.11 kB / 483.6 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.4218, allocations: 4 kB / 483.6 MB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.476e-05/0.4219, allocations: 53.78 kB / 483.7 MB, free: 8.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.4219, allocations: 0 / 483.7 MB, free: 8.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001784/0.4221, allocations: 92.19 kB / 483.8 MB, free: 8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.4222, allocations: 84.66 kB / 483.9 MB, free: 7.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.4223, allocations: 130.2 kB / 484 MB, free: 7.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.4223, allocations: 31.39 kB / 484 MB, free: 7.746 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.4223, allocations: 95.5 kB / 484.1 MB, free: 7.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.4223, allocations: 19.5 kB / 484.1 MB, free: 7.641 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.4223, allocations: 0 / 484.1 MB, free: 7.641 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.287e-05/0.4224, allocations: 326.5 kB / 484.4 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.25e-05/0.4224, allocations: 11.62 kB / 484.5 MB, free: 7.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.4225, allocations: 56.03 kB / 484.5 MB, free: 7.246 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.4225, allocations: 23.36 kB / 484.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4225, allocations: 3.938 kB / 484.5 MB, free: 7.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001315/0.4227, allocations: 108.6 kB / 484.6 MB, free: 7.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4227, allocations: 5.562 kB / 484.7 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4227, allocations: 8 kB / 484.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4227, allocations: 0 / 484.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.4228, allocations: 15.94 kB / 484.7 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.4228, allocations: 3.984 kB / 484.7 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/0.4229, allocations: 8.516 kB / 484.7 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.4229, allocations: 4 kB / 484.7 MB, free: 7.086 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,clockToTrigger.y,$PRE.clockToTrigger.y3,clockToTrigger.y3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.849e-05/0.4229, allocations: 112.7 kB / 484.8 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.423, allocations: 62.55 kB / 484.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.4231, allocations: 15.78 kB / 484.9 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4231, allocations: 0 / 484.9 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4231, allocations: 4 kB / 484.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4231, allocations: 0.5625 kB / 484.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.4233, allocations: 341.7 kB / 485.2 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4234, allocations: 3.938 kB / 485.2 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.4234, allocations: 8 kB / 485.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4234, allocations: 4 kB / 485.2 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4235, allocations: 7.984 kB / 485.2 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4235, allocations: 0 / 485.2 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4235, allocations: 3.953 kB / 485.2 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.4236, allocations: 199.6 kB / 485.4 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.4237, allocations: 96.48 kB / 485.5 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.4237, allocations: 0 / 485.5 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.4238, allocations: 15.39 kB / 485.5 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.4238, allocations: 7.984 kB / 485.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4238, allocations: 0.9375 kB / 485.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.286e-05/0.4239, allocations: 112.7 kB / 485.7 MB, free: 6.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4239, allocations: 0 / 485.7 MB, free: 6.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.4241, allocations: 15.94 kB / 485.7 MB, free: 6.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (clockToTrigger.y2,clockToTrigger.y,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004245/0.4246, allocations: 0.8419 MB / 486.5 MB, free: 5.223 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.4247, allocations: 55.27 kB / 486.6 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4247, allocations: 0 / 486.6 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.4248, allocations: 11.69 kB / 486.6 MB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.425, allocations: 32.47 kB / 486.6 MB, free: 5.148 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.4255, allocations: 170.2 kB / 486.8 MB, free: 4.965 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.4257, allocations: 0.705 MB / 487.5 MB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.96e-05/0.4257, allocations: 12.88 kB / 487.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.4258, allocations: 25.8 kB / 487.5 MB, free: 4.207 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4258, allocations: 0 / 487.5 MB, free: 4.207 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.4435, allocations: 1.73 MB / 489.3 MB, free: 2.711 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.4438, allocations: 176.9 kB / 489.4 MB, free: 2.492 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2, allocations: 0 / 489.4 MB, free: 2.492 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat does not exist to compare? outputFormat=mat