Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",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.0009/0.0009, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.503/1.503, allocations: 221.3 MB / 235.5 MB, free: 2.941 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.0008157/0.0008158, allocations: 91.59 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.627e-05, allocations: 4 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 50.42 MB / 394.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3391/0.4499, allocations: 81.01 MB / 475.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.4502, allocations: 75.95 kB / 475.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0178/0.468, allocations: 6.541 MB / 482 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.468, allocations: 0 / 482 MB, free: 15.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.4681, allocations: 4 kB / 482 MB, free: 15.83 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005744/0.4686, allocations: 484.6 kB / 482.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4687, allocations: 8.031 kB / 482.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.4688, allocations: 42.48 kB / 482.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.4689, allocations: 23.81 kB / 482.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.4692, allocations: 257.6 kB / 482.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4693, allocations: 8 kB / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.4693, allocations: 4 kB / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.4696, allocations: 142.8 kB / 482.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4696, allocations: 0 / 482.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.4697, allocations: 7.953 kB / 482.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.4697, allocations: 0 / 482.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.142e-05/0.4698, allocations: 35.92 kB / 483 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.4703, allocations: 366.5 kB / 483.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.4704, allocations: 107.9 kB / 483.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.4705, allocations: 46.59 kB / 483.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.4706, allocations: 3.984 kB / 483.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.4707, allocations: 75.39 kB / 483.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.4707, allocations: 4 kB / 483.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002503/0.471, allocations: 113.3 kB / 483.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.471, allocations: 140.4 kB / 483.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.4713, allocations: 241 kB / 484 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4713, allocations: 29.7 kB / 484.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.4714, allocations: 112.1 kB / 484.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.4714, allocations: 19.88 kB / 484.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.4715, allocations: 4.062 kB / 484.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4716, allocations: 330.8 kB / 484.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/0.4716, allocations: 20 kB / 484.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.4717, allocations: 66 kB / 484.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.24e-05/0.4718, allocations: 24.97 kB / 484.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4718, allocations: 3.938 kB / 484.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001649/0.4719, allocations: 113.4 kB / 484.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.472, allocations: 8 kB / 484.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.472, allocations: 0 / 484.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.472, allocations: 3.938 kB / 484.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.4721, allocations: 20.05 kB / 484.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4721, allocations: 4 kB / 484.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.4722, allocations: 12.12 kB / 484.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.4722, allocations: 8 kB / 484.8 MB, free: 12.69 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.317e-05/0.4723, allocations: 109 kB / 484.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.822e-05/0.4724, allocations: 73.3 kB / 485 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.4726, allocations: 107.4 kB / 485.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4726, allocations: 4.062 kB / 485.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4726, allocations: 4 kB / 485.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4726, allocations: 3.938 kB / 485.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.4728, allocations: 229.6 kB / 485.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4728, allocations: 0 / 485.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.4729, allocations: 7.984 kB / 485.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4729, allocations: 4 kB / 485.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4729, allocations: 3.953 kB / 485.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4729, allocations: 0 / 485.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4729, allocations: 7.938 kB / 485.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.4731, allocations: 182 kB / 485.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.4732, allocations: 116.8 kB / 485.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.4733, allocations: 8 kB / 485.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.4734, allocations: 7.984 kB / 485.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.4734, allocations: 4 kB / 485.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.4734, allocations: 8 kB / 485.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.4736, allocations: 189.4 kB / 485.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4736, allocations: 0 / 485.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000249/0.4739, allocations: 39.98 kB / 485.9 MB, free: 11.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001302/0.4752, allocations: 1.129 MB / 487 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.4754, allocations: 63.92 kB / 487.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4754, allocations: 8 kB / 487.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.591e-05/0.4755, allocations: 28.17 kB / 487.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.4758, allocations: 56.38 kB / 487.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.4764, allocations: 306.4 kB / 487.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.4768, allocations: 0.7362 MB / 488.2 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.644e-05/0.4769, allocations: 25.19 kB / 488.2 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.58e-05/0.4769, allocations: 55.41 kB / 488.3 MB, free: 9.086 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.477, allocations: 0 / 488.3 MB, free: 9.086 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.4932, allocations: 4.04 MB / 492.3 MB, free: 5.16 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.4935, allocations: 212.5 kB / 492.5 MB, free: 4.926 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.126, allocations: 0 / 492.5 MB, free: 4.926 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat does not exist to compare? outputFormat=mat