Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 105.5 kB / 17.59 MB, free: 5.438 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.001185/0.001186, allocations: 191.3 kB / 18.52 MB, free: 4.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 242.2 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 50.34 kB / 301.3 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1607, allocations: 49.44 MB / 350.7 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.004868/0.1657, allocations: 1.598 MB / 352.3 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1674, allocations: 0.4987 MB / 352.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1676, allocations: 11.88 kB / 352.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.358e-05/0.1677, allocations: 7.922 kB / 352.8 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.1679, allocations: 11.88 kB / 352.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.1684, allocations: 59.81 kB / 352.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1686, allocations: 51.78 kB / 353 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1688, allocations: 16 kB / 353 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1689, allocations: 31.8 kB / 353 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.65e-05/0.169, allocations: 27.84 kB / 353 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.1691, allocations: 4 kB / 353 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.127e-05/0.1691, allocations: 4 kB / 353 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.1692, allocations: 15.92 kB / 353.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.1692, allocations: 27.81 kB / 353.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.1694, allocations: 59.73 kB / 353.1 MB, free: 2.012 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.1695, allocations: 7.984 kB / 353.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1695, allocations: 0 / 353.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.1695, allocations: 0 / 353.2 MB, free: 2.004 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007558/0.1703, allocations: 389.9 kB / 353.5 MB, free: 1.578 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.1704, allocations: 8.031 kB / 353.5 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.1704, allocations: 8.844 kB / 353.6 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1708, allocations: 204.6 kB / 353.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1708, allocations: 12.31 kB / 353.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1708, allocations: 4.125 kB / 353.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/0.1713, allocations: 130.7 kB / 353.9 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1714, allocations: 0 / 353.9 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.1714, allocations: 8 kB / 353.9 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1714, allocations: 0 / 353.9 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1716, allocations: 27.92 kB / 353.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.1722, allocations: 291.4 kB / 354.2 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.1725, allocations: 98.41 kB / 354.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.1726, allocations: 43.48 kB / 354.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.1727, allocations: 4 kB / 354.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.1728, allocations: 38.5 kB / 354.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 2.424e-06/0.1728, allocations: 4 kB / 354.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005483/0.1733, allocations: 101.4 kB / 354.5 MB, free: 440 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.1735, allocations: 136.5 kB / 354.6 MB, free: 272 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.1737, allocations: 147.9 kB / 354.8 MB, free: 116 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1738, allocations: 30.14 kB / 354.8 MB, free: 80 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1739, allocations: 96.08 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.1739, allocations: 7.906 kB / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.174, allocations: 21.7 kB / 354.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1742, allocations: 318.8 kB / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.1743, allocations: 7.984 kB / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1744, allocations: 44.28 kB / 355.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.1747, allocations: 60.22 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.1747, allocations: 4 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002842/0.175, allocations: 85.45 kB / 355.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.175, allocations: 4 kB / 355.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.175, allocations: 4 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.1751, allocations: 0 / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1752, allocations: 19.98 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1752, allocations: 0 / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.444e-05/0.1753, allocations: 7.938 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1754, allocations: 7.938 kB / 355.5 MB, free: 15.35 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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.0001345/0.1755, allocations: 125.9 kB / 355.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.1757, allocations: 53.59 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.1757, allocations: 23.8 kB / 355.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1758, allocations: 4 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1758, allocations: 0 / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1758, allocations: 3.938 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.1761, allocations: 169.7 kB / 355.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.1761, allocations: 7.984 kB / 355.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.1762, allocations: 12.06 kB / 355.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.1763, allocations: 4 kB / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1763, allocations: 128 / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.1763, allocations: 7.984 kB / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1763, allocations: 4 kB / 355.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.1766, allocations: 201.9 kB / 356.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1768, allocations: 93 kB / 356.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1768, allocations: 0 / 356.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.1769, allocations: 4 kB / 356.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.177, allocations: 7.938 kB / 356.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.177, allocations: 3.984 kB / 356.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.1771, allocations: 112.4 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1772, allocations: 0 / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004557/0.1776, allocations: 8 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001811/0.1778, allocations: 107.7 kB / 356.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.1781, allocations: 43.86 kB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1781, allocations: 0 / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.1782, allocations: 19.92 kB / 356.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.179, allocations: 31.02 kB / 356.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007092/0.1797, allocations: 239.3 kB / 356.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.1801, allocations: 0.7002 MB / 357.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.1802, allocations: 11.44 kB / 357.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1802, allocations: 0 / 357.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Templates: time 0.004084/0.1843, allocations: 0.9164 MB / 358.4 MB, free: 12.27 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches