Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",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.001798/0.001797, allocations: 107.7 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.001593/0.001592, 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.826/1.826, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 46.88 kB / 300.7 MB, free: 5.762 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1818, allocations: 49.44 MB / 350.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.005072/0.187, allocations: 1.542 MB / 351.7 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.188, allocations: 484.2 kB / 352.2 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.1881, allocations: 0 / 352.2 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.375e-05/0.1882, allocations: 3.938 kB / 352.2 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.1883, allocations: 7.938 kB / 352.2 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1886, allocations: 46.7 kB / 352.2 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1887, allocations: 35.86 kB / 352.3 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1888, allocations: 15.98 kB / 352.3 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.811e-05/0.1889, allocations: 15.88 kB / 352.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.189, allocations: 23.91 kB / 352.3 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.189, allocations: 0 / 352.3 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.189, allocations: 4 kB / 352.3 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.1891, allocations: 15.92 kB / 352.3 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.1891, allocations: 19.81 kB / 352.4 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.1892, allocations: 47.81 kB / 352.4 MB, free: 2.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1892, allocations: 4 kB / 352.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1893, allocations: 0 / 352.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1893, allocations: 0 / 352.4 MB, free: 2.039 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005357/0.1898, allocations: 363.5 kB / 352.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.1899, allocations: 8.031 kB / 352.8 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.1899, allocations: 42.73 kB / 352.8 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.19, allocations: 12.78 kB / 352.8 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1902, allocations: 188.1 kB / 353 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1902, allocations: 4.375 kB / 353 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1902, allocations: 8.375 kB / 353 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1905, allocations: 93.16 kB / 353.1 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1905, allocations: 0 / 353.1 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1905, allocations: 7.984 kB / 353.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.1905, allocations: 0 / 353.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.054e-05/0.1906, allocations: 15.98 kB / 353.1 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.1909, allocations: 261.8 kB / 353.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.398e-05/0.191, allocations: 49.14 kB / 353.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.1911, allocations: 17.78 kB / 353.5 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.1911, allocations: 4 kB / 353.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1911, allocations: 42.48 kB / 353.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1911, allocations: 3.938 kB / 353.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002252/0.1914, allocations: 61.59 kB / 353.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.1914, allocations: 85.28 kB / 353.7 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1916, allocations: 137.8 kB / 353.8 MB, free: 440 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1916, allocations: 25.7 kB / 353.8 MB, free: 408 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.1917, allocations: 88.14 kB / 353.9 MB, free: 316 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.1917, allocations: 3.906 kB / 353.9 MB, free: 312 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1917, allocations: 21.7 kB / 353.9 MB, free: 284 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1919, allocations: 314.8 kB / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.1919, allocations: 8 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.362e-05/0.192, allocations: 25.7 kB / 354.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/0.1921, allocations: 29.7 kB / 354.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1921, allocations: 3.938 kB / 354.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000111/0.1922, allocations: 53.59 kB / 354.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1922, allocations: 4.125 kB / 354.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1922, allocations: 4 kB / 354.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1923, allocations: 7.984 kB / 354.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/0.1923, allocations: 4 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1923, allocations: 3.984 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/0.1924, allocations: 3.938 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1924, allocations: 7.938 kB / 354.4 MB, free: 15.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001129/0.1925, allocations: 121.8 kB / 354.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.1926, allocations: 33.7 kB / 354.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.1926, allocations: 15.91 kB / 354.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1926, allocations: 3.984 kB / 354.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1926, allocations: 4 kB / 354.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.1926, allocations: 0 / 354.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.1928, allocations: 169.5 kB / 354.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1928, allocations: 3.938 kB / 354.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.1929, allocations: 8 kB / 354.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1929, allocations: 4 kB / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.1929, allocations: 0 / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1929, allocations: 0 / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1929, allocations: 4 kB / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.1931, allocations: 160.3 kB / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.1932, allocations: 93 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.1932, allocations: 3.938 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.45e-05/0.1933, allocations: 4 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.1933, allocations: 4.031 kB / 355 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1933, allocations: 0 / 355 MB, free: 15.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.711e-05/0.1934, allocations: 109.9 kB / 355.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1934, allocations: 0 / 355.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.1937, allocations: 8 kB / 355.1 MB, free: 14.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0005297/0.1942, allocations: 0.7014 MB / 355.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.1943, allocations: 19.98 kB / 355.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1943, allocations: 0 / 355.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.656e-05/0.1944, allocations: 11.92 kB / 355.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1947, allocations: 14.78 kB / 355.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.1961, allocations: 1.308 MB / 357.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.1965, allocations: 0.6924 MB / 357.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.525e-05/0.1965, allocations: 3.984 kB / 357.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.1965, allocations: 15.42 kB / 357.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1966, allocations: 4 kB / 357.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.2351, allocations: 1.434 MB / 359.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.053/9.288, allocations: 3.75 kB / 359.3 MB, free: 10.7 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches