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.001438/0.001438, allocations: 176.5 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.369/1.369, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.0009837/0.0009838, allocations: 100.4 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.59e-05, allocations: 4 kB / 337.2 MB, free: 9.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 50.41 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3462/0.4686, allocations: 75.33 MB / 462.9 MB, free: 3.383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.469, allocations: 75.95 kB / 463 MB, free: 3.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002739/0.4717, allocations: 0.7547 MB / 463.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.809e-06/0.4718, allocations: 0 / 463.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.4718, allocations: 6.625 kB / 463.7 MB, free: 2.559 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.0004548/0.4723, allocations: 324.4 kB / 464 MB, free: 2.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.79e-05/0.4724, allocations: 12.03 kB / 464.1 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.4724, allocations: 8.641 kB / 464.1 MB, free: 2.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.4727, allocations: 171.1 kB / 464.2 MB, free: 1.973 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.4727, allocations: 4 kB / 464.2 MB, free: 1.969 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.4727, allocations: 0 / 464.2 MB, free: 1.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.228e-05/0.4728, allocations: 12 kB / 464.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.4731, allocations: 91.33 kB / 464.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4731, allocations: 3.938 kB / 464.3 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4731, allocations: 0 / 464.3 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.4731, allocations: 3.953 kB / 464.3 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.4733, allocations: 138.2 kB / 464.5 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.4734, allocations: 34.72 kB / 464.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.4735, allocations: 24.88 kB / 464.5 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.4735, allocations: 0 / 464.5 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.4735, allocations: 30.56 kB / 464.6 MB, free: 1.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.4735, allocations: 3.938 kB / 464.6 MB, free: 1.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001527/0.4737, allocations: 53.61 kB / 464.6 MB, free: 1.508 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.4737, allocations: 59.31 kB / 464.7 MB, free: 1.438 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.4738, allocations: 93 kB / 464.8 MB, free: 1.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.4739, allocations: 25.7 kB / 464.8 MB, free: 1.309 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.4739, allocations: 84.14 kB / 464.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.4739, allocations: 4 kB / 464.9 MB, free: 1.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.4739, allocations: 0 / 464.9 MB, free: 1.219 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4741, allocations: 322.8 kB / 465.2 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.4741, allocations: 4 kB / 465.2 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.4741, allocations: 28.47 kB / 465.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.085e-05/0.4742, allocations: 8 kB / 465.2 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4742, allocations: 0 / 465.2 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.32e-05/0.4743, allocations: 53.62 kB / 465.3 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4743, allocations: 8 kB / 465.3 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4743, allocations: 0 / 465.3 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.4743, allocations: 0 / 465.3 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.4744, allocations: 7.938 kB / 465.3 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4744, allocations: 12.11 kB / 465.3 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.4744, allocations: 0 / 465.3 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.4744, allocations: 0 / 465.3 MB, free: 0.7578 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: 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 8.311e-05/0.4745, allocations: 116.9 kB / 465.4 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.129e-05/0.4746, allocations: 49.59 kB / 465.5 MB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.4746, allocations: 4 kB / 465.5 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.4746, allocations: 4.125 kB / 465.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4746, allocations: 3.938 kB / 465.5 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4747, allocations: 0 / 465.5 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.4747, allocations: 4 kB / 465.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.082e-05/0.4748, allocations: 138.2 kB / 465.6 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4748, allocations: 3.938 kB / 465.6 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.4748, allocations: 7.984 kB / 465.6 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4748, allocations: 0 / 465.6 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4748, allocations: 0 / 465.6 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4748, allocations: 0 / 465.6 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4748, allocations: 0 / 465.6 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.409e-05/0.4749, allocations: 77.73 kB / 465.7 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.475, allocations: 81.11 kB / 465.8 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.475, allocations: 4 kB / 465.8 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.919e-05/0.4751, allocations: 7.984 kB / 465.8 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-06/0.4751, allocations: 0 / 465.8 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.4751, allocations: 0 / 465.8 MB, free: 176 kB / 330.7 MB Notification: Performance of sorting global known variables: time 4.366e-05/0.4751, allocations: 83.66 kB / 465.9 MB, free: 92 kB / 330.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4752, allocations: 0 / 465.9 MB, free: 92 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.4754, allocations: 4 kB / 465.9 MB, free: 88 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: 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.0005564/0.4759, allocations: 0.628 MB / 466.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.319e-05/0.476, allocations: 19.94 kB / 466.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.476, allocations: 0 / 466.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.476, allocations: 0 / 466.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.4762, allocations: 12 kB / 466.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.4765, allocations: 101.9 kB / 466.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.4768, allocations: 0.6885 MB / 467.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.524e-05/0.4768, allocations: 0 / 467.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.4769, allocations: 8.812 kB / 467.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4769, allocations: 4 kB / 467.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.4961, allocations: 0.7654 MB / 468.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.4963, allocations: 160.7 kB / 468.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.406/1.902, allocations: 4 kB / 468.3 MB, free: 13.58 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