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.001546/0.001546, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.441/1.441, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.0009897/0.0009897, allocations: 103.5 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002844, allocations: 8 kB / 351.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.271, allocations: 50.41 MB / 401.6 MB, free: 32.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3718, allocations: 76.07 MB / 477.6 MB, free: 4.363 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.3721, allocations: 75.95 kB / 477.7 MB, free: 4.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001998/0.3741, allocations: 0.7682 MB / 478.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3742, allocations: 0 / 478.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.3742, allocations: 0 / 478.5 MB, free: 3.523 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.0004025/0.3746, allocations: 336.4 kB / 478.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.3746, allocations: 12.02 kB / 478.8 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.3747, allocations: 34.56 kB / 478.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.3747, allocations: 3.953 kB / 478.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.3749, allocations: 179 kB / 479 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.375, allocations: 4 kB / 479 MB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.375, allocations: 0 / 479 MB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.3753, allocations: 113.5 kB / 479.2 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3753, allocations: 3.938 kB / 479.2 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3754, allocations: 4 kB / 479.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.3754, allocations: 3.953 kB / 479.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-05/0.3755, allocations: 23.98 kB / 479.2 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.3756, allocations: 165.5 kB / 479.3 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.3758, allocations: 46.56 kB / 479.4 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.3758, allocations: 144 / 479.4 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.3759, allocations: 34.55 kB / 479.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3759, allocations: 8.031 kB / 479.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002602/0.3761, allocations: 77.78 kB / 479.5 MB, free: 2.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.3762, allocations: 55.41 kB / 479.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.3763, allocations: 101 kB / 479.7 MB, free: 2.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3763, allocations: 25.7 kB / 479.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.3764, allocations: 80.14 kB / 479.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.3764, allocations: 0 / 479.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-06/0.3764, allocations: 4 kB / 479.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3765, allocations: 326.8 kB / 480.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.3765, allocations: 0 / 480.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.145e-05/0.3766, allocations: 31.44 kB / 480.1 MB, free: 1.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.454e-05/0.3766, allocations: 8 kB / 480.1 MB, free: 1.652 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3766, allocations: 0 / 480.1 MB, free: 1.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.29e-05/0.3767, allocations: 69.47 kB / 480.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3767, allocations: 4 kB / 480.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3767, allocations: 0 / 480.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3768, allocations: 4 kB / 480.2 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/0.3768, allocations: 4 kB / 480.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3768, allocations: 4.359 kB / 480.2 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.3769, allocations: 4 kB / 480.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3769, allocations: 7.938 kB / 480.2 MB, free: 1.551 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 () * Number of clocked states: 1 (step.counter) * 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 9.778e-05/0.377, allocations: 121.9 kB / 480.3 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.3771, allocations: 69.61 kB / 480.4 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.3771, allocations: 3.5 kB / 480.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3771, allocations: 0 / 480.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3772, allocations: 0 / 480.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3772, allocations: 0 / 480.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.3773, allocations: 157.6 kB / 480.6 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3773, allocations: 3.984 kB / 480.6 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.3773, allocations: 4 kB / 480.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3773, allocations: 0 / 480.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3774, allocations: 12 kB / 480.6 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3774, allocations: 0 / 480.6 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3774, allocations: 0 / 480.6 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.3776, allocations: 96.91 kB / 480.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.3776, allocations: 77.11 kB / 480.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.3776, allocations: 0 / 480.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.054e-05/0.3777, allocations: 7.984 kB / 480.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-06/0.3777, allocations: 0 / 480.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3777, allocations: 4 kB / 480.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.306e-05/0.3777, allocations: 83.28 kB / 480.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3777, allocations: 0 / 480.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.3779, allocations: 4 kB / 480.9 MB, free: 0.8125 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 () * Number of clocked states: 1 (step.counter) * 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.0006351/0.3786, allocations: 0.6475 MB / 481.5 MB, free: 140 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.3787, allocations: 28.05 kB / 481.5 MB, free: 112 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3787, allocations: 4 kB / 481.5 MB, free: 108 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.3787, allocations: 0 / 481.5 MB, free: 108 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.379, allocations: 26.5 kB / 481.6 MB, free: 84 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008163/0.3798, allocations: 0.8367 MB / 482.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.3801, allocations: 0.6848 MB / 483.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.915e-05/0.3802, allocations: 8 kB / 483.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.3802, allocations: 7.438 kB / 483.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3802, allocations: 0 / 483.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.3937, allocations: 1.078 MB / 484.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/0.394, allocations: 200.2 kB / 484.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/1.991, allocations: 0 / 484.4 MB, free: 13.31 MB / 362.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