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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002038/0.002039, allocations: 112.4 kB / 16.92 MB, free: 6.145 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.001626/0.001626, allocations: 187.4 kB / 17.85 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 1.86/1.86, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 43.23 kB / 300.7 MB, free: 5.758 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1788, allocations: 49.45 MB / 350.2 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.005125/0.184, allocations: 1.596 MB / 351.8 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1854, allocations: 496.1 kB / 352.3 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.1856, allocations: 0 / 352.3 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.1858, allocations: 7.922 kB / 352.3 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.186, allocations: 15.88 kB / 352.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.1864, allocations: 47.83 kB / 352.3 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1866, allocations: 63.72 kB / 352.4 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.1869, allocations: 23.95 kB / 352.4 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.187, allocations: 27.86 kB / 352.4 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1871, allocations: 31.86 kB / 352.5 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.1872, allocations: 4 kB / 352.5 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.495e-05/0.1872, allocations: 4 kB / 352.5 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1873, allocations: 15.92 kB / 352.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.112e-05/0.1874, allocations: 35.78 kB / 352.5 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1876, allocations: 63.75 kB / 352.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1876, allocations: 0 / 352.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1876, allocations: 0 / 352.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1877, allocations: 0 / 352.6 MB, free: 1.863 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.0009133/0.1886, allocations: 403.2 kB / 353 MB, free: 1.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.069e-05/0.1887, allocations: 8.031 kB / 353 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.652e-05/0.1887, allocations: 42.69 kB / 353 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.1888, allocations: 20.73 kB / 353.1 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.1892, allocations: 192.1 kB / 353.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1893, allocations: 384 / 353.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.1893, allocations: 4.375 kB / 353.2 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.1898, allocations: 134 kB / 353.4 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1898, allocations: 0 / 353.4 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1898, allocations: 4 kB / 353.4 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.1898, allocations: 7.922 kB / 353.4 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.19, allocations: 39.91 kB / 353.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.1906, allocations: 377.9 kB / 353.8 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1908, allocations: 79.78 kB / 353.9 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1909, allocations: 42.61 kB / 353.9 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1909, allocations: 7.938 kB / 353.9 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.191, allocations: 30.56 kB / 354 MB, free: 288 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.191, allocations: 0 / 354 MB, free: 288 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004389/0.1914, allocations: 117.6 kB / 354.1 MB, free: 164 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.1915, allocations: 102.8 kB / 354.2 MB, free: 36 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1917, allocations: 157.8 kB / 354.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1918, allocations: 25.7 kB / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.1918, allocations: 104 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.1919, allocations: 4.188 kB / 354.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.1919, allocations: 25.72 kB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1921, allocations: 318.8 kB / 354.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.1922, allocations: 19.98 kB / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.1923, allocations: 39.45 kB / 354.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1925, allocations: 67.34 kB / 354.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1925, allocations: 0 / 354.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002049/0.1927, allocations: 89.44 kB / 355 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1927, allocations: 8.125 kB / 355 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1927, allocations: 4 kB / 355 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1928, allocations: 0 / 355 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1929, allocations: 11.98 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.1929, allocations: 7.938 kB / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.193, allocations: 7.984 kB / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.193, allocations: 0 / 355 MB, free: 15.1 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.0001156/0.1931, allocations: 125.8 kB / 355.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1932, allocations: 53.59 kB / 355.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.1933, allocations: 15.86 kB / 355.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.1933, allocations: 0 / 355.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1933, allocations: 0 / 355.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1933, allocations: 4 kB / 355.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.1936, allocations: 185.6 kB / 355.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1936, allocations: 0 / 355.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.1937, allocations: 11.98 kB / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1937, allocations: 3.938 kB / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1937, allocations: 4 kB / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.1937, allocations: 8.031 kB / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1937, allocations: 0 / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.194, allocations: 275.6 kB / 355.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.1941, allocations: 92.94 kB / 355.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.1942, allocations: 8 kB / 355.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1943, allocations: 7.984 kB / 355.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.1943, allocations: 4 kB / 355.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.1944, allocations: 0 / 355.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.969e-05/0.1945, allocations: 119.2 kB / 355.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1945, allocations: 0 / 355.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1947, allocations: 8 kB / 355.9 MB, free: 14.09 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.0007518/0.1955, allocations: 0.8143 MB / 356.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.1957, allocations: 56.08 kB / 356.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1958, allocations: 4.062 kB / 356.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.1958, allocations: 23.92 kB / 356.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.1964, allocations: 23.2 kB / 356.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.1984, allocations: 1.558 MB / 358.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.1989, allocations: 0.6924 MB / 359.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.491e-05/0.199, allocations: 11.98 kB / 359.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.199, allocations: 23.42 kB / 359.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.199, allocations: 4 kB / 359.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.231, allocations: 1.852 MB / 361 MB, free: 8.984 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.183/9.414, allocations: 12.17 kB / 361 MB, free: 8.973 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > 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