Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",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.001007/0.001007, allocations: 175.5 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.277/1.277, allocations: 221.3 MB / 235.5 MB, free: 2.922 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.0008335/0.0008335, allocations: 97.97 kB / 286.5 MB, free: 188 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.869e-05, allocations: 4 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.09495, allocations: 50.4 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/0.3718, allocations: 76 MB / 470.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.372, allocations: 75.95 kB / 470.4 MB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001795/0.3738, allocations: 0.7556 MB / 471.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3738, allocations: 4 kB / 471.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3738, allocations: 2.625 kB / 471.2 MB, free: 10.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002966/0.3741, allocations: 328.4 kB / 471.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3742, allocations: 8.031 kB / 471.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.3742, allocations: 30.56 kB / 471.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.3743, allocations: 12.64 kB / 471.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3744, allocations: 175 kB / 471.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3745, allocations: 4 kB / 471.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.3745, allocations: 4 kB / 471.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.3747, allocations: 95.27 kB / 471.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3747, allocations: 0 / 471.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.3747, allocations: 4 kB / 471.8 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3747, allocations: 7.938 kB / 471.8 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.3748, allocations: 8 kB / 471.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.3749, allocations: 161.7 kB / 472 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.375, allocations: 38.58 kB / 472 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.3751, allocations: 20.83 kB / 472.1 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.3751, allocations: 0 / 472.1 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3751, allocations: 38.64 kB / 472.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3751, allocations: 0 / 472.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001278/0.3752, allocations: 49.69 kB / 472.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.3753, allocations: 59.31 kB / 472.2 MB, free: 9.469 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.176e-05/0.3754, allocations: 108.9 kB / 472.3 MB, free: 9.355 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.3754, allocations: 25.7 kB / 472.3 MB, free: 9.324 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.3754, allocations: 84.12 kB / 472.4 MB, free: 9.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.308e-06/0.3755, allocations: 0 / 472.4 MB, free: 9.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.3755, allocations: 8 kB / 472.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3756, allocations: 314.8 kB / 472.7 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.3756, allocations: 11.94 kB / 472.7 MB, free: 8.902 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-05/0.3756, allocations: 27.44 kB / 472.8 MB, free: 8.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.162e-05/0.3757, allocations: 8 kB / 472.8 MB, free: 8.855 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3757, allocations: 4 kB / 472.8 MB, free: 8.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.239e-05/0.3758, allocations: 57.62 kB / 472.8 MB, free: 8.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3758, allocations: 9.406 kB / 472.8 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3758, allocations: 0 / 472.8 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3758, allocations: 0 / 472.8 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.5e-05/0.3759, allocations: 7.938 kB / 472.8 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3759, allocations: 4 kB / 472.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.3759, allocations: 0 / 472.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3759, allocations: 3.953 kB / 472.9 MB, free: 8.766 MB / 346.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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.817e-05/0.376, allocations: 113.1 kB / 473 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.3761, allocations: 49.61 kB / 473 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.3761, allocations: 15.48 kB / 473 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3761, allocations: 0 / 473 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3761, allocations: 3.938 kB / 473 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.3761, allocations: 0 / 473 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.946e-05/0.3762, allocations: 157.6 kB / 473.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3762, allocations: 7.875 kB / 473.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.3763, allocations: 7.984 kB / 473.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3763, allocations: 0 / 473.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3763, allocations: 0 / 473.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3763, allocations: 4 kB / 473.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3763, allocations: 0 / 473.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.901e-05/0.3764, allocations: 77.17 kB / 473.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.3764, allocations: 85.05 kB / 473.4 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.3765, allocations: 4 kB / 473.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.097e-05/0.3765, allocations: 3.984 kB / 473.4 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-06/0.3765, allocations: 0 / 473.4 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.3765, allocations: 4 kB / 473.4 MB, free: 8.141 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.3766, allocations: 87.66 kB / 473.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3766, allocations: 0 / 473.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.3767, allocations: 4 kB / 473.5 MB, free: 8.051 MB / 346.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.0003834/0.3771, allocations: 0.6204 MB / 474.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.649e-05/0.3772, allocations: 28.11 kB / 474.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3772, allocations: 4 kB / 474.1 MB, free: 7.371 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.3772, allocations: 0 / 474.1 MB, free: 7.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.3774, allocations: 16 kB / 474.1 MB, free: 7.355 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.3777, allocations: 98.55 kB / 474.2 MB, free: 7.223 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.3779, allocations: 0.6848 MB / 474.9 MB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.375e-05/0.3779, allocations: 0 / 474.9 MB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.378, allocations: 15.44 kB / 474.9 MB, free: 6.496 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.378, allocations: 8.062 kB / 474.9 MB, free: 6.488 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01094/0.3889, allocations: 1.082 MB / 476 MB, free: 5.551 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.3892, allocations: 171.6 kB / 476.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/1.864, allocations: 6.031 kB / 476.2 MB, free: 5.324 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat