Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001806, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.002023/0.002023, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.603/2.603, allocations: 222.9 MB / 241.7 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.002329, allocations: 47.86 kB / 300.6 MB, free: 6.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1622, allocations: 49.45 MB / 350.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.006419/0.1687, allocations: 1.645 MB / 351.7 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1704, allocations: 0.5454 MB / 352.3 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.1707, allocations: 0 / 352.3 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.1711, allocations: 15.92 kB / 352.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.1713, allocations: 7.938 kB / 352.3 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.1718, allocations: 55.88 kB / 352.3 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.172, allocations: 63.78 kB / 352.4 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.1722, allocations: 19.98 kB / 352.4 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1724, allocations: 35.84 kB / 352.5 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.1726, allocations: 23.86 kB / 352.5 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.1726, allocations: 7.938 kB / 352.5 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.143e-05/0.1727, allocations: 0 / 352.5 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1728, allocations: 15.98 kB / 352.5 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.195e-05/0.1729, allocations: 35.73 kB / 352.5 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.173, allocations: 43.92 kB / 352.6 MB, free: 2.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1731, allocations: 0 / 352.6 MB, free: 2.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1731, allocations: 3.938 kB / 352.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.1731, allocations: 4 kB / 352.6 MB, free: 2.262 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009168/0.174, allocations: 395.3 kB / 353 MB, free: 1.828 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.1741, allocations: 8.031 kB / 353 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.1742, allocations: 8.844 kB / 353 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.1745, allocations: 204.6 kB / 353.2 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.1746, allocations: 4.375 kB / 353.2 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1746, allocations: 8.125 kB / 353.2 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.1752, allocations: 153.8 kB / 353.3 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.1752, allocations: 3.938 kB / 353.4 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.1752, allocations: 0 / 353.4 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.1753, allocations: 3.938 kB / 353.4 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.1755, allocations: 35.97 kB / 353.4 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.1761, allocations: 278.5 kB / 353.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1763, allocations: 87.83 kB / 353.7 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.1765, allocations: 46.62 kB / 353.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.1765, allocations: 0 / 353.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.1766, allocations: 34.56 kB / 353.8 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.1766, allocations: 0 / 353.8 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005217/0.1771, allocations: 113.3 kB / 353.9 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.1773, allocations: 115.1 kB / 354.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.1776, allocations: 141.8 kB / 354.2 MB, free: 416 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.1776, allocations: 25.7 kB / 354.2 MB, free: 384 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.1777, allocations: 92.14 kB / 354.3 MB, free: 288 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.1778, allocations: 7.891 kB / 354.3 MB, free: 280 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.1779, allocations: 25.72 kB / 354.3 MB, free: 248 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000306/0.1782, allocations: 322.8 kB / 354.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.3e-05/0.1783, allocations: 19.98 kB / 354.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1784, allocations: 69.88 kB / 354.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.1787, allocations: 77.94 kB / 354.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1787, allocations: 0 / 354.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003166/0.179, allocations: 109.5 kB / 354.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.179, allocations: 4 kB / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.1791, allocations: 7.938 kB / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1791, allocations: 0 / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1793, allocations: 15.98 kB / 355 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.911e-05/0.1793, allocations: 4 kB / 355 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1794, allocations: 7.938 kB / 355 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.1794, allocations: 8 kB / 355 MB, free: 15.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.fractionalDelay.first,fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0002638/0.1797, allocations: 129.8 kB / 355.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.1799, allocations: 65.59 kB / 355.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.322e-05/0.18, allocations: 16.31 kB / 355.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.18, allocations: 4 kB / 355.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.18, allocations: 0 / 355.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.1801, allocations: 7.922 kB / 355.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.1804, allocations: 173.6 kB / 355.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.1804, allocations: 0 / 355.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1805, allocations: 23.86 kB / 355.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.1806, allocations: 0 / 355.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.1806, allocations: 4.031 kB / 355.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1806, allocations: 4.312 kB / 355.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.1806, allocations: 0 / 355.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.181, allocations: 205.1 kB / 355.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.1812, allocations: 93 kB / 355.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.1812, allocations: 4 kB / 355.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.1814, allocations: 7.938 kB / 355.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.1815, allocations: 11.98 kB / 355.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1815, allocations: 3.938 kB / 355.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.1817, allocations: 113.1 kB / 355.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1817, allocations: 0 / 355.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006204/0.1823, allocations: 8 kB / 355.8 MB, free: 14.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002282/0.1826, allocations: 111.2 kB / 355.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.1829, allocations: 55.91 kB / 356 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1829, allocations: 0 / 356 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.075e-05/0.183, allocations: 7.938 kB / 356 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.1837, allocations: 44 kB / 356 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/0.1847, allocations: 272.9 kB / 356.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.1852, allocations: 0.7004 MB / 357 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.1853, allocations: 19.31 kB / 357 MB, free: 13.31 MB / 302.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1853, allocations: 0 / 357 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Templates: time 0.005274/0.1906, allocations: 1.072 MB / 358.1 MB, free: 12.25 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches