Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,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.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,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.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002053/0.002053, 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.002687/0.002687, 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.515/2.515, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 51.36 kB / 300.6 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1676, allocations: 49.44 MB / 350.1 MB, free: 4.875 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.006166/0.1738, allocations: 1.912 MB / 352 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.1758, allocations: 0.6235 MB / 352.6 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.1762, allocations: 4 kB / 352.6 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1765, allocations: 15.8 kB / 352.6 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.1767, allocations: 19.86 kB / 352.6 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.1774, allocations: 98.55 kB / 352.7 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.1778, allocations: 127.6 kB / 352.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.1781, allocations: 53.7 kB / 352.9 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.1783, allocations: 51.72 kB / 353 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1784, allocations: 47.72 kB / 353 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.1785, allocations: 4 kB / 353 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.291e-05/0.1785, allocations: 4 kB / 353 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.1786, allocations: 35.83 kB / 353 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.1787, allocations: 51.61 kB / 353.1 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.179, allocations: 95.83 kB / 353.2 MB, free: 1.719 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.179, allocations: 4 kB / 353.2 MB, free: 1.715 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.179, allocations: 0 / 353.2 MB, free: 1.715 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.179, allocations: 4 kB / 353.2 MB, free: 1.711 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.001078/0.1801, allocations: 455.1 kB / 353.6 MB, free: 1.219 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.1802, allocations: 8.031 kB / 353.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.1803, allocations: 20.66 kB / 353.7 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.1808, allocations: 233.8 kB / 353.9 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.1808, allocations: 12.12 kB / 353.9 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.1809, allocations: 12 kB / 353.9 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.1819, allocations: 276.2 kB / 354.2 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.182, allocations: 0 / 354.2 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.182, allocations: 4 kB / 354.2 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.182, allocations: 4 kB / 354.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.1824, allocations: 75.88 kB / 354.3 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008038/0.1832, allocations: 431.3 kB / 354.7 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008451/0.1841, allocations: 306 kB / 355 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.1845, allocations: 108.3 kB / 355.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.1845, allocations: 0 / 355.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.1846, allocations: 46.5 kB / 355.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.154e-06/0.1846, allocations: 0 / 355.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001037/0.1857, allocations: 217.5 kB / 355.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.1858, allocations: 196 kB / 355.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.1861, allocations: 175.1 kB / 355.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.1862, allocations: 33.7 kB / 355.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1863, allocations: 100.1 kB / 355.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.1864, allocations: 11.91 kB / 355.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.766e-05/0.1865, allocations: 37.61 kB / 355.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1867, allocations: 326.8 kB / 356.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.1868, allocations: 23.98 kB / 356.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.187, allocations: 137.2 kB / 356.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.1874, allocations: 161.6 kB / 356.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1874, allocations: 0 / 356.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005037/0.188, allocations: 165.3 kB / 356.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.188, allocations: 7.938 kB / 356.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.188, allocations: 8 kB / 356.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.1881, allocations: 4 kB / 356.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1883, allocations: 43.86 kB / 356.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/0.1884, allocations: 11.97 kB / 356.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.1886, allocations: 12.31 kB / 356.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.1886, allocations: 12 kB / 356.8 MB, free: 13.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0002027/0.1888, allocations: 142 kB / 356.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/0.1894, allocations: 145.2 kB / 357.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.475e-05/0.1895, allocations: 25.39 kB / 357.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.1895, allocations: 4 kB / 357.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1895, allocations: 0 / 357.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1895, allocations: 4 kB / 357.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.19, allocations: 209.6 kB / 357.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.19, allocations: 0 / 357.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.1902, allocations: 43.94 kB / 357.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.1903, allocations: 3.938 kB / 357.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.1903, allocations: 8 kB / 357.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1903, allocations: 0 / 357.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.1903, allocations: 4 kB / 357.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.191, allocations: 357 kB / 357.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.1912, allocations: 112.8 kB / 357.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.1912, allocations: 7.938 kB / 357.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.1915, allocations: 15.98 kB / 357.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.1916, allocations: 0 / 357.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.1916, allocations: 12 kB / 357.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.1918, allocations: 133.2 kB / 358 MB, free: 12.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1918, allocations: 0 / 358 MB, free: 12.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006117/0.1925, allocations: 20 kB / 358 MB, free: 12.32 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001979/0.1927, allocations: 111.1 kB / 358.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005219/0.1932, allocations: 112.3 kB / 358.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.1932, allocations: 0 / 358.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.704e-05/0.1933, allocations: 12 kB / 358.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.1946, allocations: 107.4 kB / 358.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.1962, allocations: 447 kB / 358.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.1967, allocations: 0.728 MB / 359.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.1968, allocations: 19.44 kB / 359.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1968, allocations: 0 / 359.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Templates: time 0.006581/0.2034, allocations: 1.747 MB / 361.3 MB, free: 8.988 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches