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.001586/0.001586, allocations: 181.3 kB / 16.39 MB, free: 5.766 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.434/1.434, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009418/0.0009418, allocations: 92.31 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 8 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2953, allocations: 50.4 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.3993, allocations: 76.1 MB / 477.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.3996, allocations: 75.95 kB / 477.8 MB, free: 4.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001696/0.4013, allocations: 0.6825 MB / 478.4 MB, free: 3.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4014, allocations: 0 / 478.4 MB, free: 3.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.4014, allocations: 3.938 kB / 478.4 MB, free: 3.617 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.0003635/0.4018, allocations: 338.6 kB / 478.8 MB, free: 3.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4018, allocations: 8.031 kB / 478.8 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.4019, allocations: 34.56 kB / 478.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.4019, allocations: 7.953 kB / 478.8 MB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.4021, allocations: 178 kB / 479 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.4021, allocations: 0 / 479 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.4021, allocations: 4 kB / 479 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.4024, allocations: 102.4 kB / 479.1 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.4024, allocations: 0 / 479.1 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.4024, allocations: 0 / 479.1 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4025, allocations: 3.953 kB / 479.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.918e-05/0.4025, allocations: 19.98 kB / 479.1 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.4027, allocations: 153.7 kB / 479.3 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.4028, allocations: 54.5 kB / 479.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.4029, allocations: 4.125 kB / 479.3 MB, free: 2.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4029, allocations: 30.56 kB / 479.4 MB, free: 2.535 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4029, allocations: 0 / 479.4 MB, free: 2.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002003/0.4031, allocations: 65.86 kB / 479.4 MB, free: 2.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.4032, allocations: 67.38 kB / 479.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.4033, allocations: 92.98 kB / 479.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4033, allocations: 29.7 kB / 479.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.4033, allocations: 80.14 kB / 479.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.193e-06/0.4034, allocations: 4 kB / 479.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.4034, allocations: 0 / 479.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4035, allocations: 322.8 kB / 480 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.4035, allocations: 8 kB / 480 MB, free: 1.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.4036, allocations: 27.38 kB / 480 MB, free: 1.797 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.841e-05/0.4036, allocations: 8 kB / 480.1 MB, free: 1.789 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4036, allocations: 0 / 480.1 MB, free: 1.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.889e-05/0.4037, allocations: 65.56 kB / 480.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.4037, allocations: 4 kB / 480.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.4037, allocations: 0 / 480.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4037, allocations: 4 kB / 480.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.278e-05/0.4038, allocations: 0 / 480.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4038, allocations: 4 kB / 480.1 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.4038, allocations: 0 / 480.1 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.4038, allocations: 256 / 480.1 MB, free: 1.707 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked 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 9.665e-05/0.4039, allocations: 129.7 kB / 480.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-05/0.404, allocations: 61.66 kB / 480.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.404, allocations: 7.5 kB / 480.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.4041, allocations: 0 / 480.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4041, allocations: 3.938 kB / 480.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4041, allocations: 0 / 480.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.4042, allocations: 157.6 kB / 480.5 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4042, allocations: 0 / 480.5 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.799e-05/0.4042, allocations: 3.984 kB / 480.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4042, allocations: 4 kB / 480.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.4042, allocations: 0 / 480.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.4043, allocations: 4 kB / 480.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4043, allocations: 0 / 480.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.4044, allocations: 81.08 kB / 480.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.4045, allocations: 81.02 kB / 480.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.4045, allocations: 7.922 kB / 480.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.4045, allocations: 4 kB / 480.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-06/0.4045, allocations: 0 / 480.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.4045, allocations: 8 kB / 480.7 MB, free: 1.059 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.267e-05/0.4046, allocations: 79.28 kB / 480.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4046, allocations: 0 / 480.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.4048, allocations: 4 kB / 480.8 MB, free: 0.9766 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked 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.0004465/0.4052, allocations: 0.6203 MB / 481.4 MB, free: 336 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.179e-05/0.4053, allocations: 23.92 kB / 481.4 MB, free: 312 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4053, allocations: 4 kB / 481.4 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.4053, allocations: 3.938 kB / 481.4 MB, free: 304 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.4055, allocations: 18.95 kB / 481.4 MB, free: 288 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/0.4063, allocations: 0.806 MB / 482.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.4066, allocations: 0.6887 MB / 482.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.445e-05/0.4066, allocations: 8 kB / 482.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.4067, allocations: 11.44 kB / 482.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4067, allocations: 0 / 482.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.4193, allocations: 1.015 MB / 484 MB, free: 13.84 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/0.4196, allocations: 203.4 kB / 484.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.962, allocations: 4 kB / 484.2 MB, free: 13.59 MB / 362.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