Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001077/0.001077, allocations: 175.1 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.375/1.375, allocations: 221.3 MB / 235.5 MB, free: 2.914 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.0009185/0.0009183, allocations: 95.8 kB / 286.5 MB, free: 192 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.607e-05, allocations: 4 kB / 343.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 50.4 MB / 394.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3567/0.4612, allocations: 76.04 MB / 470.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.4615, allocations: 75.95 kB / 470.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002299/0.4638, allocations: 0.7133 MB / 471.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4639, allocations: 0 / 471.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.4639, allocations: 0 / 471.2 MB, free: 10.7 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.0004047/0.4643, allocations: 326.3 kB / 471.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.4644, allocations: 8.031 kB / 471.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.4644, allocations: 42.5 kB / 471.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.4645, allocations: 7.906 kB / 471.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.4647, allocations: 179 kB / 471.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.4647, allocations: 7.938 kB / 471.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.4648, allocations: 0 / 471.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.4651, allocations: 91.34 kB / 471.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4651, allocations: 0 / 471.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.4651, allocations: 4 kB / 471.8 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4651, allocations: 3.953 kB / 471.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.4652, allocations: 7.984 kB / 471.8 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.4654, allocations: 165.6 kB / 472 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.4655, allocations: 34.58 kB / 472 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.4656, allocations: 20.83 kB / 472 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4656, allocations: 4 kB / 472 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.4656, allocations: 38.7 kB / 472.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.4656, allocations: 0 / 472.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001622/0.4658, allocations: 49.59 kB / 472.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.4659, allocations: 59.36 kB / 472.2 MB, free: 9.477 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.466, allocations: 96.98 kB / 472.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.466, allocations: 25.7 kB / 472.3 MB, free: 9.344 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.4661, allocations: 88.14 kB / 472.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.4661, allocations: 0 / 472.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.4661, allocations: 4 kB / 472.4 MB, free: 9.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4663, allocations: 314.8 kB / 472.7 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.4663, allocations: 7.938 kB / 472.7 MB, free: 8.926 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.4664, allocations: 27.42 kB / 472.7 MB, free: 8.887 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/0.4664, allocations: 12 kB / 472.8 MB, free: 8.875 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4664, allocations: 0 / 472.8 MB, free: 8.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/0.4665, allocations: 53.62 kB / 472.8 MB, free: 8.816 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4666, allocations: 9.406 kB / 472.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4666, allocations: 0 / 472.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4666, allocations: 0 / 472.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.4667, allocations: 15.88 kB / 472.8 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4667, allocations: 0 / 472.8 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.4668, allocations: 7.859 kB / 472.8 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4668, allocations: 8.125 kB / 472.8 MB, free: 8.777 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 () * 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 8.028e-05/0.4669, allocations: 101.2 kB / 472.9 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.73e-05/0.467, allocations: 57.69 kB / 473 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.467, allocations: 4.031 kB / 473 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.467, allocations: 0 / 473 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4671, allocations: 0 / 473 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4671, allocations: 3.984 kB / 473 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.4672, allocations: 161.6 kB / 473.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4672, allocations: 0 / 473.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.117e-05/0.4673, allocations: 15.94 kB / 473.2 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4673, allocations: 0 / 473.2 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.4674, allocations: 4 kB / 473.2 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.4674, allocations: 3.984 kB / 473.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4674, allocations: 0 / 473.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.4675, allocations: 81.17 kB / 473.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.4676, allocations: 81.14 kB / 473.4 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.4676, allocations: 0 / 473.4 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.627e-05/0.4677, allocations: 11.94 kB / 473.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-06/0.4677, allocations: 0 / 473.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.4677, allocations: 0 / 473.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.377e-05/0.4678, allocations: 83.28 kB / 473.4 MB, free: 8.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4678, allocations: 4 kB / 473.4 MB, free: 8.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003072/0.4681, allocations: 0 / 473.4 MB, free: 8.078 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 () * 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.0004336/0.4685, allocations: 0.6202 MB / 474.1 MB, free: 7.426 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.4687, allocations: 23.88 kB / 474.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4687, allocations: 0 / 474.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.4687, allocations: 0 / 474.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.4689, allocations: 12 kB / 474.1 MB, free: 7.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.4694, allocations: 98.66 kB / 474.2 MB, free: 7.258 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.4698, allocations: 0.6851 MB / 474.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.831e-05/0.4698, allocations: 0 / 474.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.4699, allocations: 15.44 kB / 474.9 MB, free: 6.535 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4699, allocations: 0 / 474.9 MB, free: 6.535 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.4842, allocations: 1.02 MB / 475.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/0.4845, allocations: 169.6 kB / 476.1 MB, free: 5.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.4/1.885, allocations: 4 kB / 476.1 MB, free: 5.426 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat