Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",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.001447/0.001457, allocations: 110.3 kB / 16.92 MB, free: 5.785 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.00127/0.00127, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.844/1.844, allocations: 222.9 MB / 241.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 51.08 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1804, allocations: 49.44 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.004158/0.1846, allocations: 1.587 MB / 351.8 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1859, allocations: 0.5026 MB / 352.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1861, allocations: 0 / 352.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.86e-05/0.1862, allocations: 11.86 kB / 352.3 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.1863, allocations: 11.94 kB / 352.3 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.1867, allocations: 59.7 kB / 352.3 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1869, allocations: 55.83 kB / 352.4 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.187, allocations: 23.94 kB / 352.4 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1871, allocations: 27.8 kB / 352.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.1872, allocations: 27.84 kB / 352.5 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.1872, allocations: 4 kB / 352.5 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.684e-05/0.1873, allocations: 4 kB / 352.5 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.033e-05/0.1873, allocations: 19.92 kB / 352.5 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1874, allocations: 23.81 kB / 352.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1875, allocations: 63.72 kB / 352.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1876, allocations: 0 / 352.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1876, allocations: 0 / 352.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1876, allocations: 4 kB / 352.6 MB, free: 1.895 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006134/0.1882, allocations: 385.9 kB / 353 MB, free: 1.473 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1883, allocations: 12.03 kB / 353 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.1883, allocations: 38.67 kB / 353 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.1884, allocations: 12.84 kB / 353 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1886, allocations: 199.4 kB / 353.2 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1886, allocations: 8.375 kB / 353.2 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.1887, allocations: 7.938 kB / 353.2 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.189, allocations: 138.7 kB / 353.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.189, allocations: 0 / 353.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.189, allocations: 0 / 353.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1891, allocations: 0 / 353.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1892, allocations: 35.91 kB / 353.4 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.1896, allocations: 287.4 kB / 353.7 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1898, allocations: 94.36 kB / 353.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.196e-05/0.1899, allocations: 51.48 kB / 353.8 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.1899, allocations: 3.984 kB / 353.8 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/0.19, allocations: 42.55 kB / 353.9 MB, free: 384 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.19, allocations: 0 / 353.9 MB, free: 384 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003051/0.1903, allocations: 97.45 kB / 354 MB, free: 280 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.1904, allocations: 133 kB / 354.1 MB, free: 116 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1907, allocations: 153.8 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1907, allocations: 25.7 kB / 354.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.1908, allocations: 88.14 kB / 354.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.1908, allocations: 11.89 kB / 354.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.1908, allocations: 17.72 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.191, allocations: 326.8 kB / 354.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.1911, allocations: 8 kB / 354.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.1912, allocations: 48.22 kB / 354.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1913, allocations: 60.22 kB / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1913, allocations: 4 kB / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001921/0.1915, allocations: 77.52 kB / 354.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1915, allocations: 11.94 kB / 354.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1915, allocations: 0 / 354.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1915, allocations: 0 / 354.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.1916, allocations: 15.98 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.1917, allocations: 3.938 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.1917, allocations: 16.09 kB / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1917, allocations: 4 kB / 355 MB, free: 15.19 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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.0001146/0.1919, allocations: 121.8 kB / 355.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.192, allocations: 61.53 kB / 355.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.192, allocations: 7.875 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.192, allocations: 4 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1921, allocations: 3.938 kB / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1921, allocations: 4 kB / 355.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.1923, allocations: 181.8 kB / 355.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1923, allocations: 4 kB / 355.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.1924, allocations: 15.98 kB / 355.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1924, allocations: 0 / 355.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1924, allocations: 0 / 355.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/0.1925, allocations: 7.938 kB / 355.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1925, allocations: 3.938 kB / 355.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.1927, allocations: 194 kB / 355.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.1928, allocations: 93 kB / 355.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.1928, allocations: 4 kB / 355.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.1929, allocations: 3.984 kB / 355.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.193, allocations: 7.938 kB / 355.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.193, allocations: 0 / 355.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1931, allocations: 124.9 kB / 355.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1931, allocations: 0 / 355.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.1933, allocations: 8 kB / 355.8 MB, free: 14.24 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0006621/0.194, allocations: 0.7265 MB / 356.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.1942, allocations: 55.78 kB / 356.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1942, allocations: 0 / 356.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.1943, allocations: 12 kB / 356.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.1947, allocations: 36.47 kB / 356.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.1966, allocations: 1.454 MB / 358.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.197, allocations: 0.6963 MB / 358.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.854e-05/0.197, allocations: 4 kB / 358.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.1971, allocations: 23.42 kB / 358.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1971, allocations: 3.938 kB / 358.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.2235, allocations: 1.838 MB / 360.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.096/9.319, allocations: 7.797 kB / 360.6 MB, free: 9.289 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches