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.001062/0.001062, allocations: 175.5 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.345/1.345, allocations: 221.3 MB / 235.5 MB, free: 2.973 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.0007633/0.0007633, allocations: 83.73 kB / 286.5 MB, free: 252 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.499e-05, allocations: 0 / 343.9 MB, free: 4.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1251, allocations: 50.41 MB / 394.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3833/0.5085, allocations: 76 MB / 470.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.5088, allocations: 71.95 kB / 470.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001901/0.5107, allocations: 0.7805 MB / 471.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5107, allocations: 0 / 471.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.5107, allocations: 4 kB / 471.2 MB, free: 10.67 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.0003725/0.5111, allocations: 337.1 kB / 471.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.5111, allocations: 8.031 kB / 471.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.5112, allocations: 38.56 kB / 471.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.5112, allocations: 7.859 kB / 471.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.5114, allocations: 171.1 kB / 471.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.5115, allocations: 4 kB / 471.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.5115, allocations: 3.938 kB / 471.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.5118, allocations: 95.33 kB / 471.9 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5118, allocations: 0 / 471.9 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.5118, allocations: 4 kB / 471.9 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5118, allocations: 3.953 kB / 471.9 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.784e-05/0.5119, allocations: 15.98 kB / 471.9 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.512, allocations: 153.7 kB / 472 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.5122, allocations: 46.58 kB / 472.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.5122, allocations: 16.86 kB / 472.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.5122, allocations: 0 / 472.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.5123, allocations: 34.56 kB / 472.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.973e-06/0.5123, allocations: 3.984 kB / 472.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001607/0.5124, allocations: 61.62 kB / 472.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.5125, allocations: 55.34 kB / 472.2 MB, free: 9.438 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.5126, allocations: 101 kB / 472.3 MB, free: 9.332 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.5126, allocations: 25.7 kB / 472.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.5127, allocations: 84.14 kB / 472.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.5127, allocations: 7.984 kB / 472.5 MB, free: 9.207 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.5127, allocations: 7.938 kB / 472.5 MB, free: 9.199 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5129, allocations: 314.8 kB / 472.8 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.5129, allocations: 4 kB / 472.8 MB, free: 8.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.5129, allocations: 29.69 kB / 472.8 MB, free: 8.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.513, allocations: 11.98 kB / 472.8 MB, free: 8.828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.513, allocations: 4 kB / 472.8 MB, free: 8.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.874e-05/0.5131, allocations: 53.55 kB / 472.9 MB, free: 8.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5131, allocations: 9.562 kB / 472.9 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5131, allocations: 0 / 472.9 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.5131, allocations: 3.984 kB / 472.9 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/0.5132, allocations: 11.94 kB / 472.9 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5132, allocations: 0 / 472.9 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.5133, allocations: 12.12 kB / 472.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.5133, allocations: 3.953 kB / 472.9 MB, free: 8.727 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 () * 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.052e-05/0.5134, allocations: 105 kB / 473 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.5134, allocations: 45.69 kB / 473.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.5135, allocations: 8.031 kB / 473.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.5135, allocations: 7.938 kB / 473.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5135, allocations: 0 / 473.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5135, allocations: 0 / 473.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.5136, allocations: 165.5 kB / 473.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5137, allocations: 4 kB / 473.2 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.5137, allocations: 8 kB / 473.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5137, allocations: 0 / 473.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.5137, allocations: 4.859 kB / 473.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5138, allocations: 0 / 473.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5138, allocations: 4 kB / 473.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.5139, allocations: 76.98 kB / 473.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.5139, allocations: 81.11 kB / 473.4 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.514, allocations: 0 / 473.4 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.514, allocations: 12.38 kB / 473.4 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-06/0.514, allocations: 3.984 kB / 473.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.514, allocations: 3.938 kB / 473.4 MB, free: 8.109 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.905e-05/0.5141, allocations: 87.28 kB / 473.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5141, allocations: 3.938 kB / 473.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001887/0.5143, allocations: 8 kB / 473.5 MB, free: 8.012 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 () * 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.000488/0.5148, allocations: 0.6241 MB / 474.1 MB, free: 7.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.5149, allocations: 23.92 kB / 474.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.515, allocations: 0 / 474.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-07/0.515, allocations: 0 / 474.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.5152, allocations: 16 kB / 474.2 MB, free: 7.316 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.5155, allocations: 102.9 kB / 474.3 MB, free: 7.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.5158, allocations: 0.6929 MB / 475 MB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.657e-05/0.5158, allocations: 7.938 kB / 475 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.5159, allocations: 11.44 kB / 475 MB, free: 6.445 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5159, allocations: 0 / 475 MB, free: 6.445 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.5277, allocations: 1.134 MB / 476.1 MB, free: 5.453 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.5278, allocations: 171.8 kB / 476.3 MB, free: 5.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.405/1.932, allocations: 0 / 476.3 MB, free: 5.23 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