Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 177.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.3 MB / 235.5 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008235/0.0008233, allocations: 95.53 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/3.022e-05, allocations: 4 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 50.4 MB / 394.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4477, allocations: 77.53 MB / 471.9 MB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.448, allocations: 79.95 kB / 471.9 MB, free: 9.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004813/0.4528, allocations: 1.69 MB / 473.6 MB, free: 8.223 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.609e-06/0.4528, allocations: 3.938 kB / 473.6 MB, free: 8.219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4529, allocations: 7.938 kB / 473.6 MB, free: 8.211 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.0004657/0.4533, allocations: 371.1 kB / 474 MB, free: 7.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4534, allocations: 12.03 kB / 474 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.4534, allocations: 42.5 kB / 474.1 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.4535, allocations: 15.81 kB / 474.1 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.4537, allocations: 183.6 kB / 474.3 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.4537, allocations: 7.984 kB / 474.3 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.4538, allocations: 11.94 kB / 474.3 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.4541, allocations: 131.9 kB / 474.4 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4541, allocations: 3.953 kB / 474.4 MB, free: 7.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4541, allocations: 0 / 474.4 MB, free: 7.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4541, allocations: 7.984 kB / 474.4 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.4542, allocations: 16 kB / 474.4 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.4547, allocations: 313.6 kB / 474.7 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.4549, allocations: 150.4 kB / 474.9 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.455, allocations: 41.64 kB / 474.9 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.455, allocations: 0 / 474.9 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.4551, allocations: 63.5 kB / 475 MB, free: 6.652 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.4551, allocations: 0 / 475 MB, free: 6.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000217/0.4553, allocations: 89.42 kB / 475.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.4554, allocations: 85.11 kB / 475.2 MB, free: 6.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.4555, allocations: 135.4 kB / 475.3 MB, free: 6.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4556, allocations: 25.7 kB / 475.3 MB, free: 6.289 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.4556, allocations: 88.14 kB / 475.4 MB, free: 6.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.4557, allocations: 15.81 kB / 475.4 MB, free: 6.184 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.4557, allocations: 0 / 475.4 MB, free: 6.184 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4558, allocations: 318.8 kB / 475.7 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.4558, allocations: 20 kB / 475.7 MB, free: 5.844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.4559, allocations: 61.14 kB / 475.8 MB, free: 5.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.978e-05/0.456, allocations: 23.89 kB / 475.8 MB, free: 5.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.456, allocations: 0 / 475.8 MB, free: 5.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001605/0.4561, allocations: 105.5 kB / 475.9 MB, free: 5.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.4562, allocations: 8 kB / 475.9 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4562, allocations: 3.938 kB / 475.9 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4562, allocations: 4 kB / 476 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.4563, allocations: 15.92 kB / 476 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.4563, allocations: 4 kB / 476 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.713e-05/0.4564, allocations: 8 kB / 476 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4564, allocations: 4 kB / 476 MB, free: 5.586 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 7.799e-05/0.4565, allocations: 121 kB / 476.1 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.4565, allocations: 53.59 kB / 476.2 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.4566, allocations: 16.08 kB / 476.2 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4566, allocations: 0 / 476.2 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4566, allocations: 0 / 476.2 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4566, allocations: 0 / 476.2 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.4569, allocations: 342.5 kB / 476.5 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.457, allocations: 0 / 476.5 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.457, allocations: 15.98 kB / 476.5 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.457, allocations: 192 / 476.5 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.4571, allocations: 12 kB / 476.5 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4571, allocations: 0 / 476.5 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4571, allocations: 3.938 kB / 476.5 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.4573, allocations: 198 kB / 476.7 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.4573, allocations: 104.9 kB / 476.8 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.4574, allocations: 3.938 kB / 476.8 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.4575, allocations: 7.984 kB / 476.8 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.4575, allocations: 4 kB / 476.8 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.4575, allocations: 4 kB / 476.8 MB, free: 4.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.723e-05/0.4576, allocations: 114 kB / 477 MB, free: 4.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4576, allocations: 0 / 477 MB, free: 4.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002204/0.4578, allocations: 16 kB / 477 MB, free: 4.484 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.0005565/0.4584, allocations: 0.8345 MB / 477.8 MB, free: 3.613 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.4586, allocations: 52.12 kB / 477.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4586, allocations: 3.938 kB / 477.9 MB, free: 3.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.4586, allocations: 20.31 kB / 477.9 MB, free: 3.539 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.4589, allocations: 31.97 kB / 477.9 MB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.4593, allocations: 167.6 kB / 478.1 MB, free: 3.301 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.4596, allocations: 0.7043 MB / 478.8 MB, free: 2.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.863e-05/0.4597, allocations: 4.672 kB / 478.8 MB, free: 2.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.4597, allocations: 27.36 kB / 478.8 MB, free: 2.535 MB / 346.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4597, allocations: 4 kB / 478.8 MB, free: 2.531 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01194/0.4717, allocations: 1.735 MB / 480.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.4719, allocations: 190 kB / 480.7 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/1.971, allocations: 0 / 480.7 MB, free: 0.7109 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat does not exist to compare? outputFormat=mat