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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 176.5 kB / 8.345 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.405/1.405, allocations: 221.5 MB / 230.3 MB, free: 7.512 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.0009268/0.0009269, allocations: 90.11 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.773e-05/1.769e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09838/0.09842, allocations: 50.43 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3488/0.4473, allocations: 75.34 MB / 462.8 MB, free: 3.484 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4476, allocations: 75.95 kB / 462.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002075/0.4497, allocations: 0.774 MB / 463.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.4497, allocations: 0 / 463.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.4497, allocations: 0 / 463.7 MB, free: 2.641 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.0004338/0.4502, allocations: 330.5 kB / 464 MB, free: 2.273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.809e-05/0.4503, allocations: 12.03 kB / 464 MB, free: 2.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.4503, allocations: 8.484 kB / 464 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.4506, allocations: 172.6 kB / 464.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.4506, allocations: 4 kB / 464.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.4507, allocations: 7.938 kB / 464.2 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.715e-05/0.4508, allocations: 12 kB / 464.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.451, allocations: 91.16 kB / 464.3 MB, free: 1.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.451, allocations: 0 / 464.3 MB, free: 1.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4511, allocations: 0 / 464.3 MB, free: 1.926 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.4511, allocations: 3.953 kB / 464.3 MB, free: 1.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.4512, allocations: 134.2 kB / 464.4 MB, free: 1.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.4513, allocations: 42.56 kB / 464.5 MB, free: 1.703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.4514, allocations: 16.89 kB / 464.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.4514, allocations: 3.938 kB / 464.5 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.4515, allocations: 34.56 kB / 464.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.4515, allocations: 0 / 464.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001637/0.4516, allocations: 45.73 kB / 464.6 MB, free: 1.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.4517, allocations: 59.41 kB / 464.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.4518, allocations: 96.94 kB / 464.7 MB, free: 1.414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4518, allocations: 29.7 kB / 464.7 MB, free: 1.379 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.4519, allocations: 80.14 kB / 464.8 MB, free: 1.297 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.4519, allocations: 9.016 kB / 464.8 MB, free: 1.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.4519, allocations: 0 / 464.8 MB, free: 1.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4521, allocations: 314.8 kB / 465.1 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.4521, allocations: 8 kB / 465.1 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.4521, allocations: 27.44 kB / 465.2 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.186e-05/0.4522, allocations: 15.92 kB / 465.2 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4522, allocations: 4 kB / 465.2 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.202e-05/0.4523, allocations: 53.55 kB / 465.2 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4523, allocations: 5.219 kB / 465.2 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4523, allocations: 4 kB / 465.2 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4523, allocations: 4 kB / 465.2 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.588e-05/0.4524, allocations: 11.92 kB / 465.3 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4524, allocations: 4 kB / 465.3 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.4524, allocations: 0 / 465.3 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.4524, allocations: 4 kB / 465.3 MB, free: 0.8164 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.714e-05/0.4525, allocations: 108.9 kB / 465.4 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.4526, allocations: 49.72 kB / 465.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.4526, allocations: 8.344 kB / 465.4 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4526, allocations: 4 kB / 465.4 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4527, allocations: 0 / 465.4 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4527, allocations: 0 / 465.4 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.335e-05/0.4528, allocations: 142.2 kB / 465.6 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.4528, allocations: 4.312 kB / 465.6 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.4528, allocations: 8 kB / 465.6 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4528, allocations: 0 / 465.6 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.4529, allocations: 4 kB / 465.6 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4529, allocations: 0 / 465.6 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4529, allocations: 3.984 kB / 465.6 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.893e-05/0.453, allocations: 88.95 kB / 465.7 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.453, allocations: 81.06 kB / 465.8 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.453, allocations: 0 / 465.8 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.666e-05/0.4531, allocations: 4 kB / 465.8 MB, free: 236 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-06/0.4531, allocations: 0 / 465.8 MB, free: 236 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.4531, allocations: 0 / 465.8 MB, free: 236 kB / 330.7 MB Notification: Performance of sorting global known variables: time 4.061e-05/0.4532, allocations: 91.27 kB / 465.9 MB, free: 144 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4532, allocations: 0 / 465.9 MB, free: 144 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002092/0.4534, allocations: 8 kB / 465.9 MB, free: 136 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.0001151/0.4535, allocations: 95.25 kB / 466 MB, free: 32 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.4536, allocations: 19.94 kB / 466 MB, free: 12 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4536, allocations: 0 / 466 MB, free: 12 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.4536, allocations: 0 / 466 MB, free: 12 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.4538, allocations: 16.08 kB / 466 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.4541, allocations: 72.06 kB / 466.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.4544, allocations: 0.6885 MB / 466.7 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.3e-05/0.4545, allocations: 0 / 466.7 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.4545, allocations: 11.44 kB / 466.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4545, allocations: 7.875 kB / 466.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of Templates: time 0.002257/0.4568, allocations: 367.2 kB / 467.1 MB, free: 14.82 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches