Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 108.9 kB / 17.16 MB, free: 6.082 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.001325/0.001325, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.346/2.346, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 38.22 kB / 300.6 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1709, allocations: 49.45 MB / 350.1 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.005949/0.1769, allocations: 1.628 MB / 351.7 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1785, allocations: 482.8 kB / 352.2 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1786, allocations: 0 / 352.2 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.022e-05/0.1788, allocations: 11.92 kB / 352.2 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.179, allocations: 11.88 kB / 352.2 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.1796, allocations: 46.25 kB / 352.2 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1797, allocations: 39.86 kB / 352.3 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1799, allocations: 16.19 kB / 352.3 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.18, allocations: 19.92 kB / 352.3 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.636e-05/0.1802, allocations: 23.84 kB / 352.3 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.1802, allocations: 8 kB / 352.3 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.187e-05/0.1803, allocations: 0 / 352.3 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.984e-05/0.1804, allocations: 15.92 kB / 352.4 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.1804, allocations: 23.81 kB / 352.4 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1806, allocations: 31.94 kB / 352.4 MB, free: 2.383 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1806, allocations: 0 / 352.4 MB, free: 2.383 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1806, allocations: 0 / 352.4 MB, free: 2.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1806, allocations: 0 / 352.4 MB, free: 2.383 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.0007965/0.1815, allocations: 391.2 kB / 352.8 MB, free: 1.953 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.1815, allocations: 12.03 kB / 352.8 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.683e-05/0.1816, allocations: 8.844 kB / 352.8 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.182, allocations: 196.1 kB / 353 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.182, allocations: 4.312 kB / 353 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.182, allocations: 8.375 kB / 353 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.1825, allocations: 122 kB / 353.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1825, allocations: 0 / 353.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1825, allocations: 0 / 353.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1826, allocations: 0 / 353.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.1827, allocations: 23.92 kB / 353.2 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.1833, allocations: 282.6 kB / 353.4 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1835, allocations: 67.78 kB / 353.5 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1836, allocations: 30.62 kB / 353.5 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/0.1837, allocations: 7.938 kB / 353.5 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.1837, allocations: 34.56 kB / 353.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.1838, allocations: 0 / 353.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000505/0.1843, allocations: 85.52 kB / 353.7 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.222e-05/0.1844, allocations: 107.1 kB / 353.8 MB, free: 0.793 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1846, allocations: 149.1 kB / 353.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.1847, allocations: 29.7 kB / 353.9 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.1848, allocations: 92.08 kB / 354 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1848, allocations: 7.891 kB / 354 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.1849, allocations: 17.72 kB / 354 MB, free: 492 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1851, allocations: 318.8 kB / 354.4 MB, free: 164 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/0.1852, allocations: 15.92 kB / 354.4 MB, free: 148 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1853, allocations: 39.42 kB / 354.4 MB, free: 96 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1855, allocations: 43.36 kB / 354.5 MB, free: 40 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1855, allocations: 0 / 354.5 MB, free: 40 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000303/0.1858, allocations: 69.53 kB / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.1859, allocations: 6.5 kB / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1859, allocations: 4 kB / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.1859, allocations: 3.984 kB / 354.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1861, allocations: 15.94 kB / 354.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1861, allocations: 0 / 354.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.751e-05/0.1862, allocations: 4 kB / 354.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1862, allocations: 128 / 354.6 MB, free: 15.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.0001529/0.1864, allocations: 129.8 kB / 354.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.1866, allocations: 53.53 kB / 354.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.1866, allocations: 11.88 kB / 354.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1867, allocations: 0 / 354.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.1867, allocations: 4 kB / 354.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1867, allocations: 96 / 354.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.187, allocations: 169.6 kB / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.1871, allocations: 7.984 kB / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1872, allocations: 16.05 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1872, allocations: 3.938 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1872, allocations: 0 / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1872, allocations: 0 / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-06/0.1873, allocations: 4 kB / 354.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.1876, allocations: 185 kB / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1877, allocations: 89 kB / 355.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.1878, allocations: 7.984 kB / 355.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.188, allocations: 4 kB / 355.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.188, allocations: 4 kB / 355.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1881, allocations: 4 kB / 355.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1882, allocations: 107.2 kB / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1882, allocations: 0 / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000458/0.1887, allocations: 8 kB / 355.3 MB, free: 15.03 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001814/0.1889, allocations: 103.2 kB / 355.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.1892, allocations: 31.92 kB / 355.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1892, allocations: 3.938 kB / 355.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.886e-05/0.1893, allocations: 11.98 kB / 355.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007812/0.1901, allocations: 31.89 kB / 355.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006988/0.1908, allocations: 224.5 kB / 355.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.1912, allocations: 0.6926 MB / 356.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.1913, allocations: 11.42 kB / 356.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1913, allocations: 4 kB / 356.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of Templates: time 0.004222/0.1955, allocations: 0.8024 MB / 357.3 MB, free: 13.05 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches