Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001744, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001994/0.001994, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.603/1.603, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002723/0.002724, allocations: 64.16 kB / 307 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.18, allocations: 50.53 MB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.00394/0.184, allocations: 1.532 MB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004925/0.1845, allocations: 151.5 kB / 359.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.1846, allocations: 0 / 359.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.1848, allocations: 7.922 kB / 359.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.1849, allocations: 15.88 kB / 359.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1852, allocations: 39.89 kB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1854, allocations: 43.8 kB / 359.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.1855, allocations: 23.97 kB / 359.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.1856, allocations: 15.92 kB / 359.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.1856, allocations: 15.92 kB / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.1857, allocations: 4 kB / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.796e-05/0.1857, allocations: 7.938 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.1858, allocations: 8 kB / 359.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.1858, allocations: 39.72 kB / 359.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.186, allocations: 43.83 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.186, allocations: 0 / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.186, allocations: 4 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.186, allocations: 0 / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000697/0.1867, allocations: 387.3 kB / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1868, allocations: 8.031 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.1868, allocations: 8.844 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1871, allocations: 192.2 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1871, allocations: 4.375 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1871, allocations: 384 / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.1875, allocations: 126.5 kB / 360.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1875, allocations: 4.125 kB / 360.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1875, allocations: 3.938 kB / 360.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.1876, allocations: 11.92 kB / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1877, allocations: 35.97 kB / 360.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.1883, allocations: 373.8 kB / 360.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.1884, allocations: 83.72 kB / 360.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.858e-05/0.1885, allocations: 34.62 kB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1886, allocations: 3.984 kB / 360.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.1886, allocations: 42.56 kB / 360.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1886, allocations: 0 / 360.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003768/0.189, allocations: 105.4 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.1891, allocations: 106.8 kB / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1893, allocations: 144.2 kB / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1893, allocations: 26.08 kB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.1894, allocations: 96.03 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.1894, allocations: 4 kB / 361.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.1894, allocations: 17.72 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1896, allocations: 322.8 kB / 361.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.1897, allocations: 11.98 kB / 361.6 MB, free: 9.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.1898, allocations: 43.42 kB / 361.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.1899, allocations: 63.28 kB / 361.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.19, allocations: 7.938 kB / 361.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001911/0.1901, allocations: 89.44 kB / 361.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1902, allocations: 6.969 kB / 361.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1902, allocations: 0 / 361.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.1902, allocations: 4 kB / 361.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1903, allocations: 12 kB / 361.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1904, allocations: 3.984 kB / 361.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.1904, allocations: 4 kB / 361.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1904, allocations: 4.125 kB / 361.8 MB, free: 9.422 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: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * 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.0002656/0.1907, allocations: 129.8 kB / 361.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1908, allocations: 49.55 kB / 362 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.1909, allocations: 15.81 kB / 362 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.1909, allocations: 4 kB / 362 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1909, allocations: 0 / 362 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1909, allocations: 4 kB / 362 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.1912, allocations: 173.6 kB / 362.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1912, allocations: 0 / 362.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.1913, allocations: 16.02 kB / 362.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1913, allocations: 4 kB / 362.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1913, allocations: 0 / 362.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1913, allocations: 0 / 362.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.1913, allocations: 4 kB / 362.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.1917, allocations: 271.5 kB / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1918, allocations: 96.94 kB / 362.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1918, allocations: 0 / 362.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.1919, allocations: 7.984 kB / 362.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.192, allocations: 4 kB / 362.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.192, allocations: 0 / 362.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.934e-05/0.1921, allocations: 109.8 kB / 362.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1921, allocations: 4 kB / 362.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1924, allocations: 12 kB / 362.7 MB, free: 8.43 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001516/0.1926, allocations: 107.2 kB / 362.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.1928, allocations: 51.89 kB / 362.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1928, allocations: 0 / 362.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.1929, allocations: 16.3 kB / 362.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.1933, allocations: 43.89 kB / 362.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.1937, allocations: 175.1 kB / 363.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.1941, allocations: 0.6964 MB / 363.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.775e-05/0.1942, allocations: 7.984 kB / 363.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.1942, allocations: 11.44 kB / 363.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1942, allocations: 0 / 363.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of Templates: time 0.00377/0.198, allocations: 0.6141 MB / 364.4 MB, free: 6.664 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches