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.0009322/0.0009322, allocations: 176.4 kB / 17.4 MB, free: 4.301 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.3 MB / 241.4 MB, free: 11.69 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.0008397/0.0008399, allocations: 107.6 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 11.94 kB / 352.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2511, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09482/0.3459, allocations: 76.11 MB / 478.8 MB, free: 4.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.3462, allocations: 71.95 kB / 478.9 MB, free: 4.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00184/0.348, allocations: 0.785 MB / 479.7 MB, free: 3.395 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3481, allocations: 3.938 kB / 479.7 MB, free: 3.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3481, allocations: 0 / 479.7 MB, free: 3.391 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.0003111/0.3484, allocations: 342.9 kB / 480 MB, free: 3.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3484, allocations: 12.03 kB / 480.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.3485, allocations: 4.938 kB / 480.1 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.3487, allocations: 173.8 kB / 480.2 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3487, allocations: 4.375 kB / 480.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3487, allocations: 8.312 kB / 480.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.349, allocations: 117.4 kB / 480.4 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3491, allocations: 4.188 kB / 480.4 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3491, allocations: 11.92 kB / 480.4 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3491, allocations: 0.9688 kB / 480.4 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.3492, allocations: 19.98 kB / 480.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.3494, allocations: 165.7 kB / 480.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.3495, allocations: 62.42 kB / 480.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.3496, allocations: 24.92 kB / 480.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.3496, allocations: 4 kB / 480.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3497, allocations: 30.56 kB / 480.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3497, allocations: 0 / 480.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002485/0.3499, allocations: 85.59 kB / 480.8 MB, free: 2.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.35, allocations: 59.31 kB / 480.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.752e-05/0.3501, allocations: 105.8 kB / 480.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3501, allocations: 29.7 kB / 480.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.3501, allocations: 84.08 kB / 481 MB, free: 1.867 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.3501, allocations: 3.984 kB / 481 MB, free: 1.863 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-06/0.3502, allocations: 0 / 481 MB, free: 1.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3503, allocations: 318.8 kB / 481.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.3503, allocations: 4 kB / 481.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.3503, allocations: 35.42 kB / 481.4 MB, free: 1.492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/0.3504, allocations: 35.38 kB / 481.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3504, allocations: 0 / 481.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.346e-05/0.3505, allocations: 61.62 kB / 481.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3505, allocations: 8 kB / 481.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3505, allocations: 3.938 kB / 481.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.3505, allocations: 0 / 481.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/0.3506, allocations: 8 kB / 481.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3506, allocations: 3.938 kB / 481.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.3506, allocations: 7.906 kB / 481.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-06/0.3506, allocations: 0 / 481.5 MB, free: 1.348 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 7.113e-05/0.3507, allocations: 121.9 kB / 481.6 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.3508, allocations: 65.66 kB / 481.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.3509, allocations: 11.84 kB / 481.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3509, allocations: 3.938 kB / 481.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3509, allocations: 4 kB / 481.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3509, allocations: 0 / 481.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.864e-05/0.351, allocations: 157.7 kB / 481.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.351, allocations: 384 / 481.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.083e-05/0.3511, allocations: 8 kB / 481.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3511, allocations: 4 kB / 481.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3511, allocations: 11.88 kB / 481.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3511, allocations: 0 / 481.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3511, allocations: 0 / 481.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.3513, allocations: 101.2 kB / 482 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.3513, allocations: 77.11 kB / 482.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3513, allocations: 3.938 kB / 482.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.3514, allocations: 8 kB / 482.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-06/0.3514, allocations: 7.984 kB / 482.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3514, allocations: 4 kB / 482.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.922e-05/0.3514, allocations: 79.28 kB / 482.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3514, allocations: 0 / 482.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001905/0.3516, allocations: 8 kB / 482.2 MB, free: 0.5742 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 9.687e-05/0.3517, allocations: 95.25 kB / 482.3 MB, free: 484 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.3518, allocations: 35.91 kB / 482.3 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3519, allocations: 4.25 kB / 482.3 MB, free: 444 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.3519, allocations: 0 / 482.3 MB, free: 444 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.3522, allocations: 27.92 kB / 482.3 MB, free: 416 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.3524, allocations: 124.7 kB / 482.5 MB, free: 264 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.3527, allocations: 0.6809 MB / 483.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.011e-05/0.3527, allocations: 4 kB / 483.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.3527, allocations: 11.44 kB / 483.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3527, allocations: 0 / 483.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Templates: time 0.001932/0.3547, allocations: 385.5 kB / 483.5 MB, free: 15.16 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/jenkins1/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