Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00217/0.00217, allocations: 110.3 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.002634/0.002634, 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.652/2.652, allocations: 222.9 MB / 241.7 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 50.3 kB / 300.6 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1796, allocations: 49.44 MB / 350.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.00617/0.1858, allocations: 1.663 MB / 351.7 MB, free: 3.164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1874, allocations: 490.8 kB / 352.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1876, allocations: 0 / 352.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.1878, allocations: 3.938 kB / 352.2 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.1881, allocations: 23.84 kB / 352.2 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.1886, allocations: 39.91 kB / 352.3 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.1888, allocations: 55.84 kB / 352.3 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.1889, allocations: 15.98 kB / 352.3 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1891, allocations: 31.86 kB / 352.4 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1892, allocations: 31.78 kB / 352.4 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.1893, allocations: 4 kB / 352.4 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.1893, allocations: 0 / 352.4 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.543e-05/0.1894, allocations: 19.92 kB / 352.4 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.646e-05/0.1895, allocations: 27.75 kB / 352.5 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1897, allocations: 43.92 kB / 352.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.1897, allocations: 3.984 kB / 352.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1897, allocations: 0 / 352.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.1898, allocations: 0 / 352.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008728/0.1906, allocations: 395.4 kB / 352.9 MB, free: 1.949 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/0.1907, allocations: 12.03 kB / 352.9 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.1908, allocations: 12.75 kB / 352.9 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.1911, allocations: 196.1 kB / 353.1 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1912, allocations: 384 / 353.1 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.1912, allocations: 4.375 kB / 353.1 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.1918, allocations: 130.2 kB / 353.2 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1918, allocations: 0 / 353.2 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1918, allocations: 11.88 kB / 353.2 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.1919, allocations: 3.984 kB / 353.2 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.1922, allocations: 39.95 kB / 353.3 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000836/0.193, allocations: 381.8 kB / 353.7 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.1933, allocations: 79.72 kB / 353.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.1935, allocations: 50.61 kB / 353.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1935, allocations: 0 / 353.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.1936, allocations: 30.56 kB / 353.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.1936, allocations: 0 / 353.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0007734/0.1944, allocations: 121.6 kB / 353.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.1945, allocations: 102.8 kB / 354 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.1947, allocations: 153.9 kB / 354.2 MB, free: 460 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.1948, allocations: 25.7 kB / 354.2 MB, free: 428 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.1949, allocations: 100 kB / 354.3 MB, free: 324 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.1949, allocations: 7.922 kB / 354.3 MB, free: 316 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/0.195, allocations: 29.81 kB / 354.3 MB, free: 280 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1952, allocations: 318.8 kB / 354.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1954, allocations: 19.98 kB / 354.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1956, allocations: 39.42 kB / 354.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.1959, allocations: 67.34 kB / 354.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1959, allocations: 0 / 354.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000404/0.1963, allocations: 89.44 kB / 354.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.1964, allocations: 4.125 kB / 354.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1964, allocations: 8 kB / 354.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.1964, allocations: 0 / 354.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.1966, allocations: 15.98 kB / 354.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1966, allocations: 4 kB / 354.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1968, allocations: 7.984 kB / 354.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1968, allocations: 0 / 354.9 MB, free: 15.67 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.0001611/0.197, allocations: 133.7 kB / 355 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.1972, allocations: 49.55 kB / 355.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.1973, allocations: 19.89 kB / 355.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/0.1973, allocations: 0 / 355.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.1973, allocations: 4 kB / 355.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1973, allocations: 0 / 355.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.1978, allocations: 181.6 kB / 355.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.1978, allocations: 0 / 355.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.1979, allocations: 11.98 kB / 355.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.198, allocations: 0 / 355.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.198, allocations: 4 kB / 355.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.198, allocations: 3.938 kB / 355.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.198, allocations: 4 kB / 355.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.1985, allocations: 275.4 kB / 355.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.1987, allocations: 93 kB / 355.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.1987, allocations: 7.984 kB / 355.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.199, allocations: 4 kB / 355.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.1991, allocations: 4 kB / 355.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1991, allocations: 3.984 kB / 355.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1993, allocations: 115.2 kB / 355.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1993, allocations: 0 / 355.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005522/0.1999, allocations: 8 kB / 355.8 MB, free: 14.66 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 (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.0001743/0.2001, allocations: 99.25 kB / 355.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003861/0.2005, allocations: 55.84 kB / 356 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2005, allocations: 4 kB / 356 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.2007, allocations: 11.98 kB / 356 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008737/0.2016, allocations: 27.95 kB / 356 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/0.2025, allocations: 277 kB / 356.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.2029, allocations: 0.6926 MB / 357 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.203, allocations: 15.42 kB / 357 MB, free: 13.41 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.203, allocations: 4 kB / 357 MB, free: 13.4 MB / 302.1 MB Notification: Performance of Templates: time 0.004617/0.2076, allocations: 0.921 MB / 357.9 MB, free: 12.49 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches