Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.0009404/0.0009404, allocations: 177.1 kB / 8.35 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.31/1.31, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.000827/0.0008269, allocations: 95.61 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.636e-05, allocations: 4 kB / 337.1 MB, free: 9.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 50.41 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.345/0.4543, allocations: 75.33 MB / 462.9 MB, free: 3.391 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.4547, allocations: 75.95 kB / 463 MB, free: 3.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002184/0.4569, allocations: 0.7808 MB / 463.7 MB, free: 2.543 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.64e-06/0.4569, allocations: 3.984 kB / 463.8 MB, free: 2.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.4569, allocations: 7.938 kB / 463.8 MB, free: 2.531 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.0003451/0.4573, allocations: 333.1 kB / 464.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.4573, allocations: 8.031 kB / 464.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.4574, allocations: 11.86 kB / 464.1 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.4576, allocations: 167.1 kB / 464.3 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.4576, allocations: 0 / 464.3 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.4576, allocations: 8 kB / 464.3 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.749e-05/0.4577, allocations: 15.98 kB / 464.3 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.4579, allocations: 79.34 kB / 464.4 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.4579, allocations: 0 / 464.4 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.4579, allocations: 7.938 kB / 464.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.4579, allocations: 3.953 kB / 464.4 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.4581, allocations: 142 kB / 464.5 MB, free: 1.645 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.244e-05/0.4582, allocations: 38.58 kB / 464.6 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.4583, allocations: 16.89 kB / 464.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.4583, allocations: 144 / 464.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.4583, allocations: 35.11 kB / 464.6 MB, free: 1.535 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4583, allocations: 0 / 464.6 MB, free: 1.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001415/0.4585, allocations: 45.61 kB / 464.6 MB, free: 1.484 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.4585, allocations: 67.33 kB / 464.7 MB, free: 1.406 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.9e-05/0.4586, allocations: 96.94 kB / 464.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.4586, allocations: 25.7 kB / 464.8 MB, free: 1.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.4587, allocations: 92.08 kB / 464.9 MB, free: 1.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.4587, allocations: 0 / 464.9 MB, free: 1.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.4587, allocations: 0 / 464.9 MB, free: 1.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4588, allocations: 322.8 kB / 465.2 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.4589, allocations: 4 kB / 465.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.4589, allocations: 31.44 kB / 465.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.957e-05/0.4589, allocations: 4 kB / 465.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4589, allocations: 0 / 465.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.869e-05/0.459, allocations: 57.53 kB / 465.3 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4591, allocations: 13.22 kB / 465.3 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4591, allocations: 0 / 465.3 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4591, allocations: 0 / 465.3 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.4592, allocations: 11.98 kB / 465.4 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.4592, allocations: 7.984 kB / 465.4 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.4592, allocations: 3.984 kB / 465.4 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.4592, allocations: 0 / 465.4 MB, free: 0.707 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.614e-05/0.4593, allocations: 108.9 kB / 465.5 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.514e-05/0.4594, allocations: 45.69 kB / 465.5 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.4594, allocations: 11.91 kB / 465.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.4594, allocations: 8.344 kB / 465.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4595, allocations: 0 / 465.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4595, allocations: 0 / 465.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4595, allocations: 3.938 kB / 465.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.4596, allocations: 142.1 kB / 465.7 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4596, allocations: 0 / 465.7 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.499e-05/0.4597, allocations: 11.98 kB / 465.7 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.4597, allocations: 0 / 465.7 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4597, allocations: 4 kB / 465.7 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4597, allocations: 0 / 465.7 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4597, allocations: 4.375 kB / 465.7 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.4598, allocations: 69.08 kB / 465.8 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.4599, allocations: 89 kB / 465.9 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.4599, allocations: 4 kB / 465.9 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.542e-05/0.4599, allocations: 4 kB / 465.9 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.46, allocations: 0 / 465.9 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.46, allocations: 0 / 465.9 MB, free: 124 kB / 330.7 MB Notification: Performance of sorting global known variables: time 4.574e-05/0.46, allocations: 83.28 kB / 465.9 MB, free: 40 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.46, allocations: 4 kB / 466 MB, free: 36 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.000184/0.4602, allocations: 7.938 kB / 466 MB, free: 28 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.0004498/0.4607, allocations: 0.6241 MB / 466.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.816e-05/0.4608, allocations: 19.94 kB / 466.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4608, allocations: 4.312 kB / 466.6 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.4608, allocations: 0 / 466.6 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.461, allocations: 12 kB / 466.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.4613, allocations: 107.1 kB / 466.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.4616, allocations: 0.6807 MB / 467.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.518e-05/0.4616, allocations: 7.984 kB / 467.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.4616, allocations: 15.38 kB / 467.4 MB, free: 14.47 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4617, allocations: 0 / 467.4 MB, free: 14.47 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.4806, allocations: 0.8139 MB / 468.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.4808, allocations: 166.6 kB / 468.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.41/1.89, allocations: 0 / 468.4 MB, free: 13.47 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat