Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00214/0.00214, allocations: 110.2 kB / 17.17 MB, free: 6.344 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.002604/0.002604, allocations: 194.9 kB / 18.08 MB, free: 5.441 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.573/2.573, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 52 kB / 300.6 MB, free: 6.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1658, allocations: 49.45 MB / 350.1 MB, free: 4.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.006266/0.1721, allocations: 1.9 MB / 352 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1743, allocations: 0.6196 MB / 352.6 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.1746, allocations: 7.938 kB / 352.6 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.1749, allocations: 15.86 kB / 352.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.1752, allocations: 19.86 kB / 352.6 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.1759, allocations: 90.59 kB / 352.7 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.1762, allocations: 131.6 kB / 352.8 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.1765, allocations: 61.69 kB / 352.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.1767, allocations: 47.78 kB / 352.9 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1768, allocations: 51.66 kB / 353 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.1769, allocations: 4 kB / 353 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.192e-05/0.1769, allocations: 4 kB / 353 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.177, allocations: 31.84 kB / 353 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.1771, allocations: 51.61 kB / 353.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1774, allocations: 99.81 kB / 353.2 MB, free: 1.633 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1774, allocations: 0 / 353.2 MB, free: 1.633 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1774, allocations: 4 kB / 353.2 MB, free: 1.629 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1774, allocations: 0 / 353.2 MB, free: 1.629 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009697/0.1784, allocations: 455.2 kB / 353.6 MB, free: 1.137 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.1785, allocations: 8.031 kB / 353.6 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.1785, allocations: 20.66 kB / 353.7 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.179, allocations: 237.7 kB / 353.9 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.179, allocations: 12.12 kB / 353.9 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.1791, allocations: 8 kB / 353.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009724/0.18, allocations: 284.2 kB / 354.2 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1801, allocations: 4 kB / 354.2 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.1801, allocations: 4 kB / 354.2 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1801, allocations: 4 kB / 354.2 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.1805, allocations: 71.88 kB / 354.3 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.1814, allocations: 435.4 kB / 354.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008063/0.1822, allocations: 294 kB / 355 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.1826, allocations: 116.3 kB / 355.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.1826, allocations: 8 kB / 355.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.1827, allocations: 38.56 kB / 355.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 2.455e-06/0.1827, allocations: 3.938 kB / 355.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009281/0.1836, allocations: 221.6 kB / 355.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/0.1838, allocations: 191.9 kB / 355.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.1841, allocations: 187.1 kB / 355.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.1842, allocations: 25.7 kB / 355.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1843, allocations: 104.5 kB / 355.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.517e-05/0.1844, allocations: 19.8 kB / 355.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1845, allocations: 37.8 kB / 355.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1847, allocations: 326.8 kB / 356.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1848, allocations: 23.98 kB / 356.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.1851, allocations: 142.5 kB / 356.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.1855, allocations: 174.4 kB / 356.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1855, allocations: 3.938 kB / 356.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000523/0.186, allocations: 173.1 kB / 356.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.1861, allocations: 8 kB / 356.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.1861, allocations: 4 kB / 356.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.1861, allocations: 7.984 kB / 356.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.1864, allocations: 36.45 kB / 356.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/0.1864, allocations: 15.92 kB / 356.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.1866, allocations: 27.78 kB / 356.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.1867, allocations: 8 kB / 356.8 MB, free: 13.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0002111/0.1869, allocations: 137.8 kB / 357 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005045/0.1874, allocations: 137.4 kB / 357.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.562e-05/0.1875, allocations: 25.39 kB / 357.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.1875, allocations: 7.938 kB / 357.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1876, allocations: 4.031 kB / 357.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1876, allocations: 3.938 kB / 357.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.1881, allocations: 213.6 kB / 357.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1881, allocations: 0 / 357.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.1884, allocations: 35.98 kB / 357.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.1884, allocations: 7.922 kB / 357.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.1885, allocations: 8 kB / 357.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1885, allocations: 0 / 357.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/0.1885, allocations: 11.88 kB / 357.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/0.1892, allocations: 363.7 kB / 357.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.1894, allocations: 108.8 kB / 357.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.1895, allocations: 7.984 kB / 357.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.1898, allocations: 12 kB / 357.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.1898, allocations: 11.92 kB / 357.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.1899, allocations: 4 kB / 357.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.1901, allocations: 133.2 kB / 358.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1901, allocations: 0 / 358.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000632/0.1907, allocations: 20 kB / 358.1 MB, free: 12.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001792/0.1909, allocations: 115.1 kB / 358.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000482/0.1914, allocations: 119.7 kB / 358.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1915, allocations: 0 / 358.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.773e-05/0.1915, allocations: 13.11 kB / 358.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.1927, allocations: 105.1 kB / 358.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1939, allocations: 410.7 kB / 358.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.1944, allocations: 0.7202 MB / 359.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.672e-05/0.1946, allocations: 23.42 kB / 359.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1946, allocations: 0 / 359.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of Templates: time 0.006189/0.2008, allocations: 1.813 MB / 361.4 MB, free: 8.793 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches