Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004861/0.004861, allocations: 112.2 kB / 17.17 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002484/0.002484, allocations: 194.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.462/2.462, allocations: 222.9 MB / 241.8 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 55.98 kB / 300.6 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1654, allocations: 49.44 MB / 350.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.005044/0.1706, allocations: 1.604 MB / 351.7 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1718, allocations: 490.7 kB / 352.1 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.172, allocations: 4 kB / 352.1 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.451e-05/0.1721, allocations: 7.938 kB / 352.2 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1723, allocations: 7.938 kB / 352.2 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.1726, allocations: 43.89 kB / 352.2 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1728, allocations: 43.8 kB / 352.2 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1729, allocations: 12.19 kB / 352.3 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.173, allocations: 23.91 kB / 352.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.764e-05/0.1731, allocations: 23.86 kB / 352.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.1731, allocations: 4 kB / 352.3 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.69e-05/0.1732, allocations: 0 / 352.3 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.1733, allocations: 23.86 kB / 352.3 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.1733, allocations: 23.81 kB / 352.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.1734, allocations: 39.92 kB / 352.4 MB, free: 2.484 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.1735, allocations: 0 / 352.4 MB, free: 2.484 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1735, allocations: 0 / 352.4 MB, free: 2.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1735, allocations: 0 / 352.4 MB, free: 2.484 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006515/0.1741, allocations: 379.4 kB / 352.8 MB, free: 2.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.1742, allocations: 12.03 kB / 352.8 MB, free: 2.055 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.1743, allocations: 12.78 kB / 352.8 MB, free: 2.043 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1745, allocations: 200 kB / 353 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1745, allocations: 4.375 kB / 353 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1746, allocations: 4.375 kB / 353 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.1749, allocations: 113.2 kB / 353.1 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.175, allocations: 4 kB / 353.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.175, allocations: 0 / 353.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.175, allocations: 0 / 353.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1751, allocations: 19.92 kB / 353.1 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.1755, allocations: 265.8 kB / 353.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1757, allocations: 41.16 kB / 353.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/0.1757, allocations: 25.77 kB / 353.5 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1758, allocations: 3.984 kB / 353.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1758, allocations: 30.56 kB / 353.5 MB, free: 1.203 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.1758, allocations: 4 kB / 353.5 MB, free: 1.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003323/0.1762, allocations: 69.52 kB / 353.6 MB, free: 1.125 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.1763, allocations: 81.11 kB / 353.6 MB, free: 1.027 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1764, allocations: 140.8 kB / 353.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1765, allocations: 25.7 kB / 353.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.1765, allocations: 88.12 kB / 353.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.1766, allocations: 16.19 kB / 353.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.1766, allocations: 13.62 kB / 353.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1768, allocations: 326.8 kB / 354.2 MB, free: 408 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.1768, allocations: 4 kB / 354.2 MB, free: 404 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.622e-05/0.1769, allocations: 17.7 kB / 354.3 MB, free: 380 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.177, allocations: 37.7 kB / 354.3 MB, free: 336 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.177, allocations: 0 / 354.3 MB, free: 336 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001682/0.1772, allocations: 53.62 kB / 354.3 MB, free: 276 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1772, allocations: 8 kB / 354.4 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1773, allocations: 0 / 354.4 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1773, allocations: 0 / 354.4 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.1774, allocations: 7.984 kB / 354.4 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.1774, allocations: 0 / 354.4 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.1775, allocations: 8.062 kB / 354.4 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1775, allocations: 7.875 kB / 354.4 MB, free: 244 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.1776, allocations: 117.8 kB / 354.5 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.1777, allocations: 41.59 kB / 354.5 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.1778, allocations: 11.88 kB / 354.5 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1778, allocations: 0 / 354.5 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1778, allocations: 3.938 kB / 354.5 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.1778, allocations: 0 / 354.5 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.1781, allocations: 173.6 kB / 354.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1781, allocations: 4.031 kB / 354.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.1782, allocations: 7.984 kB / 354.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1782, allocations: 0 / 354.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1782, allocations: 4 kB / 354.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1782, allocations: 4 kB / 354.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1782, allocations: 0 / 354.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.1784, allocations: 168.2 kB / 354.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.1785, allocations: 89 kB / 355 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.1786, allocations: 0 / 355 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1787, allocations: 8 kB / 355 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.1787, allocations: 3.938 kB / 355 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1788, allocations: 0 / 355 MB, free: 15.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1789, allocations: 111.2 kB / 355.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1789, allocations: 0 / 355.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.1793, allocations: 4 kB / 355.1 MB, free: 15.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001232/0.1794, allocations: 103.2 kB / 355.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.1796, allocations: 19.98 kB / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1796, allocations: 0 / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.1797, allocations: 11.98 kB / 355.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.1803, allocations: 23.89 kB / 355.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.1808, allocations: 207.4 kB / 355.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1811, allocations: 0.6887 MB / 356.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.1812, allocations: 11.44 kB / 356.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1812, allocations: 0 / 356.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of Templates: time 0.002836/0.184, allocations: 0.7589 MB / 356.9 MB, free: 13.51 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches