Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",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.001033/0.001033, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.5 MB / 230.3 MB, free: 7.582 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.0009253/0.0009252, allocations: 108.9 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.812e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 50.41 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3532/0.4594, allocations: 75.37 MB / 462.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.4598, allocations: 71.95 kB / 463 MB, free: 3.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001634/0.4615, allocations: 0.6808 MB / 463.7 MB, free: 2.605 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4615, allocations: 0 / 463.7 MB, free: 2.605 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.4615, allocations: 0 / 463.7 MB, free: 2.605 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003135/0.4618, allocations: 327.4 kB / 464 MB, free: 2.246 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4619, allocations: 12.03 kB / 464 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.4619, allocations: 7.859 kB / 464 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.4621, allocations: 173.1 kB / 464.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.4621, allocations: 4 kB / 464.2 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.4621, allocations: 2.625 kB / 464.2 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.985e-05/0.4622, allocations: 16 kB / 464.2 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.4624, allocations: 83.33 kB / 464.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4624, allocations: 0 / 464.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.4625, allocations: 0 / 464.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4625, allocations: 3.953 kB / 464.3 MB, free: 1.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.4626, allocations: 138.2 kB / 464.4 MB, free: 1.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.4627, allocations: 38.56 kB / 464.5 MB, free: 1.688 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.4627, allocations: 20.83 kB / 464.5 MB, free: 1.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4628, allocations: 4 kB / 464.5 MB, free: 1.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.4628, allocations: 34.56 kB / 464.5 MB, free: 1.617 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.514e-06/0.4628, allocations: 3.984 kB / 464.5 MB, free: 1.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001237/0.4629, allocations: 45.73 kB / 464.6 MB, free: 1.562 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.463, allocations: 59.41 kB / 464.6 MB, free: 1.492 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/0.463, allocations: 89 kB / 464.7 MB, free: 1.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4631, allocations: 26.64 kB / 464.7 MB, free: 1.367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.4631, allocations: 88.14 kB / 464.8 MB, free: 1.277 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-06/0.4631, allocations: 0 / 464.8 MB, free: 1.277 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.4631, allocations: 0 / 464.8 MB, free: 1.277 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4632, allocations: 322.8 kB / 465.1 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.4633, allocations: 4 kB / 465.1 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.4633, allocations: 31.38 kB / 465.2 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.859e-05/0.4633, allocations: 8 kB / 465.2 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4633, allocations: 3.938 kB / 465.2 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.635e-05/0.4634, allocations: 45.62 kB / 465.2 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4634, allocations: 12.06 kB / 465.2 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4634, allocations: 4 kB / 465.3 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.4635, allocations: 0 / 465.3 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.935e-05/0.4635, allocations: 4 kB / 465.3 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.4635, allocations: 0 / 465.3 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.4635, allocations: 0 / 465.3 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.4636, allocations: 4 kB / 465.3 MB, free: 0.8203 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.682e-05/0.4637, allocations: 112.9 kB / 465.4 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.482e-05/0.4637, allocations: 49.61 kB / 465.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-06/0.4637, allocations: 0 / 465.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.4638, allocations: 16.11 kB / 465.4 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.4638, allocations: 0 / 465.4 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4638, allocations: 4 kB / 465.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4638, allocations: 0 / 465.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.18e-05/0.4639, allocations: 134.1 kB / 465.6 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4639, allocations: 0 / 465.6 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.4639, allocations: 4 kB / 465.6 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.4639, allocations: 0 / 465.6 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-06/0.464, allocations: 0 / 465.6 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.464, allocations: 0 / 465.6 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.464, allocations: 0 / 465.6 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.904e-05/0.4641, allocations: 85.02 kB / 465.7 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.4641, allocations: 85 kB / 465.7 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.4641, allocations: 1.812 kB / 465.7 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.685e-05/0.4642, allocations: 4 kB / 465.7 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-06/0.4642, allocations: 0 / 465.7 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.4642, allocations: 0 / 465.7 MB, free: 248 kB / 330.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.4642, allocations: 83.28 kB / 465.8 MB, free: 164 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4642, allocations: 4 kB / 465.8 MB, free: 160 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.4644, allocations: 4 kB / 465.8 MB, free: 156 kB / 330.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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003544/0.4648, allocations: 0.5968 MB / 466.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.889e-05/0.4649, allocations: 23.92 kB / 466.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4649, allocations: 256 / 466.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.4649, allocations: 4 kB / 466.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.4651, allocations: 19.08 kB / 466.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.4653, allocations: 99.58 kB / 466.6 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.4656, allocations: 0.6807 MB / 467.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.373e-05/0.4656, allocations: 3.984 kB / 467.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.4656, allocations: 11.44 kB / 467.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4656, allocations: 0 / 467.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.4832, allocations: 0.7081 MB / 468 MB, free: 13.93 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003457/0.4837, allocations: 160.8 kB / 468.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/1.927, allocations: 1.375 kB / 468.1 MB, free: 13.73 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat