Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",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.001299/0.001299, allocations: 177.1 kB / 13.64 MB, free: 1.672 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.441/1.441, allocations: 221.4 MB / 235.5 MB, free: 2.949 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.0007967/0.0007967, allocations: 98.33 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.594e-05, allocations: 8 kB / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 50.41 MB / 394.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3128/0.4177, allocations: 81.15 MB / 475.5 MB, free: 6.355 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.418, allocations: 83.95 kB / 475.6 MB, free: 6.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.4348, allocations: 6.038 MB / 481.6 MB, free: 244 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4348, allocations: 0 / 481.6 MB, free: 244 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.4349, allocations: 8 kB / 481.6 MB, free: 236 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000631/0.4355, allocations: 476.4 kB / 482.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4355, allocations: 19.95 kB / 482.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.828e-05/0.4356, allocations: 42.52 kB / 482.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.4357, allocations: 15.81 kB / 482.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.4361, allocations: 261.7 kB / 482.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4361, allocations: 7.938 kB / 482.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.4362, allocations: 8 kB / 482.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.4365, allocations: 155.6 kB / 482.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4365, allocations: 0 / 482.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4365, allocations: 4 kB / 482.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4365, allocations: 7.953 kB / 482.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/0.4366, allocations: 35.92 kB / 482.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.4372, allocations: 458.6 kB / 483.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.4374, allocations: 134.5 kB / 483.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.4375, allocations: 55.55 kB / 483.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.4375, allocations: 7.953 kB / 483.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.4376, allocations: 92.98 kB / 483.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.4376, allocations: 4 kB / 483.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002504/0.4379, allocations: 129.3 kB / 483.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.438, allocations: 162.2 kB / 483.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.4382, allocations: 245.2 kB / 483.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4382, allocations: 25.7 kB / 483.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.4383, allocations: 120.3 kB / 484 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.4383, allocations: 23.73 kB / 484.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.4383, allocations: 0 / 484.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.4384, allocations: 326.8 kB / 484.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.4385, allocations: 27.94 kB / 484.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.953e-05/0.4386, allocations: 74.86 kB / 484.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/0.4387, allocations: 31.92 kB / 484.5 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4387, allocations: 0 / 484.5 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001792/0.4389, allocations: 129.4 kB / 484.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4389, allocations: 9.203 kB / 484.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4389, allocations: 4 kB / 484.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4389, allocations: 0 / 484.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.439, allocations: 19.98 kB / 484.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.439, allocations: 3.938 kB / 484.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.573e-05/0.4391, allocations: 8 kB / 484.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.4391, allocations: 4 kB / 484.7 MB, free: 12.82 MB / 362.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: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample1.u,shiftSample1.y,hold1.u,hold1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.115e-05/0.4392, allocations: 113.1 kB / 484.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.4393, allocations: 77.34 kB / 484.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.4395, allocations: 111.5 kB / 485 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.4395, allocations: 4 kB / 485 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.4395, allocations: 0 / 485 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4395, allocations: 0 / 485 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.4397, allocations: 233.6 kB / 485.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4397, allocations: 4.125 kB / 485.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.4398, allocations: 20 kB / 485.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4398, allocations: 4 kB / 485.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4398, allocations: 0 / 485.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.4398, allocations: 11.94 kB / 485.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4398, allocations: 80 / 485.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.4401, allocations: 216.4 kB / 485.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4402, allocations: 116.8 kB / 485.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.4402, allocations: 8 kB / 485.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.4403, allocations: 7.984 kB / 485.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.4403, allocations: 4 kB / 485.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.4404, allocations: 7.984 kB / 485.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.4405, allocations: 197.4 kB / 485.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4405, allocations: 0 / 485.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.4408, allocations: 36 kB / 485.8 MB, free: 11.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample1.u,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001201/0.442, allocations: 1.227 MB / 487.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.4422, allocations: 79.86 kB / 487.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4422, allocations: 320 / 487.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.545e-05/0.4423, allocations: 35.98 kB / 487.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.4426, allocations: 72.19 kB / 487.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.4432, allocations: 310.4 kB / 487.5 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.4435, allocations: 0.7363 MB / 488.3 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.83e-05/0.4436, allocations: 29.31 kB / 488.3 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.4437, allocations: 47.42 kB / 488.4 MB, free: 9 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4437, allocations: 0 / 488.4 MB, free: 9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.4587, allocations: 4.227 MB / 492.6 MB, free: 4.879 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.4589, allocations: 200.6 kB / 492.8 MB, free: 4.648 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.067, allocations: 0 / 492.8 MB, free: 4.648 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat does not exist to compare? outputFormat=mat