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.001795/0.001795, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.507/1.507, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009803/0.0009803, allocations: 97.42 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003004, allocations: 7.938 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3024, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.4145, allocations: 76.08 MB / 477.6 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.4148, allocations: 71.97 kB / 477.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002186/0.417, allocations: 0.7814 MB / 478.4 MB, free: 3.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4171, allocations: 0 / 478.4 MB, free: 3.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.4171, allocations: 0 / 478.4 MB, free: 3.535 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.0003987/0.4175, allocations: 343.8 kB / 478.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.4175, allocations: 8.562 kB / 478.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.4176, allocations: 3.953 kB / 478.8 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.4178, allocations: 186.2 kB / 479 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.4178, allocations: 0 / 479 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.4178, allocations: 0 / 479 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.4182, allocations: 120.4 kB / 479.1 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.4182, allocations: 4 kB / 479.1 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4183, allocations: 0 / 479.1 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4183, allocations: 3.938 kB / 479.1 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.4184, allocations: 31.92 kB / 479.1 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.4186, allocations: 157.7 kB / 479.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.4187, allocations: 62.42 kB / 479.3 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.4188, allocations: 0 / 479.3 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.4188, allocations: 34.59 kB / 479.4 MB, free: 2.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.424e-06/0.4188, allocations: 4 kB / 479.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003112/0.4191, allocations: 81.73 kB / 479.4 MB, free: 2.355 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.4192, allocations: 51.41 kB / 479.5 MB, free: 2.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.4193, allocations: 101 kB / 479.6 MB, free: 2.188 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.4193, allocations: 29.7 kB / 479.6 MB, free: 2.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.4194, allocations: 84.12 kB / 479.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.4194, allocations: 7.906 kB / 479.7 MB, free: 2.059 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/0.4194, allocations: 0 / 479.7 MB, free: 2.059 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4196, allocations: 318.8 kB / 480 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.4196, allocations: 11.98 kB / 480 MB, free: 1.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.4196, allocations: 27.44 kB / 480.1 MB, free: 1.688 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.4197, allocations: 8 kB / 480.1 MB, free: 1.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4197, allocations: 0 / 480.1 MB, free: 1.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001008/0.4198, allocations: 65.56 kB / 480.1 MB, free: 1.609 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4198, allocations: 4 kB / 480.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4198, allocations: 4 kB / 480.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4198, allocations: 3.938 kB / 480.1 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.4199, allocations: 8 kB / 480.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4199, allocations: 3.984 kB / 480.2 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.42, allocations: 8 kB / 480.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.42, allocations: 0 / 480.2 MB, free: 1.578 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 () * Number of clocked states: 1 (step.counter) * 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 9.298e-05/0.4201, allocations: 120.7 kB / 480.3 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.4202, allocations: 73.7 kB / 480.4 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.4203, allocations: 7.906 kB / 480.4 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4203, allocations: 4.031 kB / 480.4 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4203, allocations: 3.938 kB / 480.4 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4203, allocations: 4 kB / 480.4 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.4204, allocations: 161.6 kB / 480.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4205, allocations: 384 / 480.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.4205, allocations: 8 kB / 480.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4205, allocations: 0 / 480.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.4206, allocations: 7.984 kB / 480.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4206, allocations: 4 kB / 480.6 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4206, allocations: 0 / 480.6 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.4208, allocations: 97 kB / 480.7 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.4208, allocations: 81.02 kB / 480.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.4209, allocations: 0 / 480.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.4209, allocations: 7.984 kB / 480.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-06/0.4209, allocations: 0 / 480.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.4209, allocations: 0 / 480.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.078e-05/0.421, allocations: 91.28 kB / 480.8 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.421, allocations: 0 / 480.8 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001892/0.4212, allocations: 4 kB / 480.8 MB, free: 0.8125 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 () * Number of clocked states: 1 (step.counter) * 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.0001575/0.4213, allocations: 103.2 kB / 480.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.4215, allocations: 35.92 kB / 481 MB, free: 0.668 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4215, allocations: 0 / 481 MB, free: 0.668 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.4215, allocations: 256 / 481 MB, free: 0.668 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.4219, allocations: 31.97 kB / 481 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.4222, allocations: 124.6 kB / 481.1 MB, free: 496 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.4226, allocations: 0.6848 MB / 481.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.106e-05/0.4227, allocations: 4 kB / 481.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.4227, allocations: 7.438 kB / 481.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4227, allocations: 3.938 kB / 481.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of Templates: time 0.002733/0.4255, allocations: 381.2 kB / 482.2 MB, free: 15.39 MB / 362.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