Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.001274/0.001274, allocations: 174.8 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.322/1.322, allocations: 221.3 MB / 235.5 MB, free: 2.941 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.0008563/0.0008566, allocations: 93.84 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.919e-05, allocations: 0 / 343.9 MB, free: 4.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 50.42 MB / 394.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2978/0.3991, allocations: 76.01 MB / 470.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.3993, allocations: 71.95 kB / 470.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001766/0.4011, allocations: 0.779 MB / 471.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4011, allocations: 0 / 471.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.4011, allocations: 0 / 471.2 MB, free: 10.59 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.0003378/0.4015, allocations: 326 kB / 471.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.4015, allocations: 16.03 kB / 471.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.4016, allocations: 34.56 kB / 471.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.4016, allocations: 11.86 kB / 471.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.4017, allocations: 179 kB / 471.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.4018, allocations: 0 / 471.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.4018, allocations: 4 kB / 471.8 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.402, allocations: 91.33 kB / 471.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.402, allocations: 4 kB / 471.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.402, allocations: 0 / 471.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.402, allocations: 7.953 kB / 471.9 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.528e-05/0.4021, allocations: 8 kB / 471.9 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.4022, allocations: 157.7 kB / 472 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.307e-05/0.4023, allocations: 42.52 kB / 472.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.4023, allocations: 17.03 kB / 472.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.4023, allocations: 7.984 kB / 472.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.4024, allocations: 34.56 kB / 472.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.4024, allocations: 7.922 kB / 472.1 MB, free: 9.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001155/0.4025, allocations: 45.61 kB / 472.2 MB, free: 9.438 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4025, allocations: 63.33 kB / 472.2 MB, free: 9.363 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.843e-05/0.4026, allocations: 96.95 kB / 472.3 MB, free: 9.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.4026, allocations: 29.7 kB / 472.4 MB, free: 9.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.4027, allocations: 88.08 kB / 472.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.4027, allocations: 4 kB / 472.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.4027, allocations: 4 kB / 472.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.4028, allocations: 314.8 kB / 472.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.4028, allocations: 4 kB / 472.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.4028, allocations: 30.5 kB / 472.8 MB, free: 8.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.322e-05/0.4029, allocations: 16 kB / 472.8 MB, free: 8.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4029, allocations: 0 / 472.8 MB, free: 8.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.441e-05/0.403, allocations: 65.47 kB / 472.9 MB, free: 8.684 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.403, allocations: 4 kB / 472.9 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.403, allocations: 0 / 472.9 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.403, allocations: 4 kB / 472.9 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.024e-05/0.4031, allocations: 7.984 kB / 472.9 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4031, allocations: 4.125 kB / 472.9 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.4031, allocations: 4 kB / 472.9 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-06/0.4031, allocations: 7.953 kB / 472.9 MB, free: 8.652 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: 2 (step.counter,$CLKPRE.step.counter) * 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 5.284e-05/0.4032, allocations: 108.9 kB / 473 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.4032, allocations: 49.62 kB / 473.1 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.4033, allocations: 12.03 kB / 473.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.4033, allocations: 0 / 473.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4033, allocations: 0 / 473.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4033, allocations: 0 / 473.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.355e-05/0.4034, allocations: 161.6 kB / 473.2 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4034, allocations: 4 kB / 473.2 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.979e-05/0.4035, allocations: 8 kB / 473.2 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4035, allocations: 3.938 kB / 473.3 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.4035, allocations: 4 kB / 473.3 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4035, allocations: 0 / 473.3 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4035, allocations: 0 / 473.3 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.035e-05/0.4036, allocations: 80.98 kB / 473.3 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.4036, allocations: 81.09 kB / 473.4 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.4036, allocations: 8.438 kB / 473.4 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.802e-05/0.4037, allocations: 4 kB / 473.4 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-06/0.4037, allocations: 0 / 473.4 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.4037, allocations: 0 / 473.4 MB, free: 8.039 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.758e-05/0.4037, allocations: 95.64 kB / 473.5 MB, free: 7.945 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4037, allocations: 0 / 473.5 MB, free: 7.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.4039, allocations: 4 kB / 473.5 MB, free: 7.941 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: 1 (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.0003651/0.4043, allocations: 0.6241 MB / 474.1 MB, free: 7.285 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.226e-05/0.4044, allocations: 23.94 kB / 474.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.4044, allocations: 0 / 474.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.4044, allocations: 4 kB / 474.2 MB, free: 7.258 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.4046, allocations: 19.92 kB / 474.2 MB, free: 7.238 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.4048, allocations: 99.19 kB / 474.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.405, allocations: 0.6926 MB / 475 MB, free: 6.387 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.628e-05/0.4051, allocations: 0 / 475 MB, free: 6.387 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.4051, allocations: 11.44 kB / 475 MB, free: 6.379 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4051, allocations: 0 / 475 MB, free: 6.379 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.4168, allocations: 1.134 MB / 476.1 MB, free: 5.383 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/0.4171, allocations: 172.3 kB / 476.3 MB, free: 5.156 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.395/1.813, allocations: 3.938 kB / 476.3 MB, free: 5.152 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat