Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01228/0.01228, allocations: 1.752 MB / 21.38 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 108.1 kB / 24.98 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 203.2 kB / 28.7 MB, free: 3.441 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.386/1.386, allocations: 230.6 MB / 262.9 MB, free: 6.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.003/1.003, allocations: 130.7 MB / 450.5 MB, free: 6.566 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.02991/0.02991, allocations: 20.59 MB / 0.6363 GB, free: 5.34 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1801, allocations: 81.91 MB / 0.7163 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003198/0.1833, allocations: 2.14 MB / 0.7184 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008387/0.1842, allocations: 446.5 kB / 0.7188 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.1842, allocations: 0 / 0.7188 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.1843, allocations: 11.86 kB / 0.7188 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.1844, allocations: 11.94 kB / 0.7189 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.1849, allocations: 143.6 kB / 0.719 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.185, allocations: 79.72 kB / 0.7191 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.909e-05/0.1851, allocations: 15.97 kB / 0.7191 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.1852, allocations: 27.92 kB / 0.7191 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.294e-05/0.1853, allocations: 47.77 kB / 0.7192 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1853, allocations: 15.92 kB / 0.7192 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.1855, allocations: 75.94 kB / 0.7192 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.1855, allocations: 23.97 kB / 0.7193 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.1856, allocations: 39.73 kB / 0.7193 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1858, allocations: 135.5 kB / 0.7194 GB, free: 128 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1858, allocations: 4 kB / 0.7194 GB, free: 124 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1858, allocations: 0 / 0.7194 GB, free: 124 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.1858, allocations: 0 / 0.7194 GB, free: 124 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006717/0.1865, allocations: 341.9 kB / 0.7198 GB, free: 15.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1865, allocations: 8.031 kB / 0.7198 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.121e-05/0.1865, allocations: 8.188 kB / 0.7198 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.1865, allocations: 38.73 kB / 0.7198 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.1866, allocations: 8.891 kB / 0.7198 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.1868, allocations: 140.6 kB / 0.72 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.976e-05/0.1868, allocations: 30.27 kB / 0.72 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1868, allocations: 8.375 kB / 0.72 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.1872, allocations: 113.7 kB / 0.7201 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1872, allocations: 0 / 0.7201 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1872, allocations: 4 kB / 0.7201 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1872, allocations: 3.984 kB / 0.7201 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.1876, allocations: 99.91 kB / 0.7202 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.1882, allocations: 331.6 kB / 0.7205 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.1885, allocations: 106.5 kB / 0.7206 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.1887, allocations: 60.92 kB / 0.7207 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1887, allocations: 4 kB / 0.7207 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1887, allocations: 34.55 kB / 0.7207 GB, free: 14.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1887, allocations: 0 / 0.7207 GB, free: 14.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0007245/0.1894, allocations: 225.4 kB / 0.7209 GB, free: 14.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1895, allocations: 51.41 kB / 0.721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1896, allocations: 129.8 kB / 0.7211 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1896, allocations: 25.7 kB / 0.7211 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.1897, allocations: 100.1 kB / 0.7212 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.1897, allocations: 31.73 kB / 0.7213 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.1897, allocations: 21.72 kB / 0.7213 GB, free: 14.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.1899, allocations: 326.8 kB / 0.7216 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.1901, allocations: 55.95 kB / 0.7216 GB, free: 13.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.1903, allocations: 63.94 kB / 0.7217 GB, free: 13.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.1907, allocations: 132.8 kB / 0.7218 GB, free: 13.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1907, allocations: 0 / 0.7218 GB, free: 13.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004615/0.1911, allocations: 173.5 kB / 0.722 GB, free: 13.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1911, allocations: 8.109 kB / 0.722 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1912, allocations: 3.938 kB / 0.722 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1912, allocations: 0 / 0.722 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.1916, allocations: 67.92 kB / 0.7221 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1916, allocations: 4 kB / 0.7221 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1917, allocations: 19.98 kB / 0.7221 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1917, allocations: 3.938 kB / 0.7221 GB, free: 13.19 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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 9.65e-05/0.1918, allocations: 121.8 kB / 0.7222 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.1919, allocations: 7.953 kB / 0.7222 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.1919, allocations: 12.38 kB / 0.7222 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1919, allocations: 0 / 0.7222 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1919, allocations: 3.938 kB / 0.7222 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1919, allocations: 0 / 0.7222 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.1921, allocations: 184.5 kB / 0.7224 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1921, allocations: 0 / 0.7224 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.1926, allocations: 67.92 kB / 0.7225 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1926, allocations: 0 / 0.7225 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1926, allocations: 4 kB / 0.7225 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1926, allocations: 4 kB / 0.7225 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1926, allocations: 0 / 0.7225 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007267/0.1933, allocations: 335.3 kB / 0.7228 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.1934, allocations: 7.984 kB / 0.7228 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1934, allocations: 3.938 kB / 0.7228 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1935, allocations: 16.06 kB / 0.7228 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.1936, allocations: 15.92 kB / 0.7228 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.1936, allocations: 4.062 kB / 0.7229 GB, free: 12.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.1936, allocations: 105.5 kB / 0.723 GB, free: 12.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1936, allocations: 0 / 0.723 GB, free: 12.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002705/0.1939, allocations: 31.94 kB / 0.723 GB, free: 12.21 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (noise.y_,noise.y) * 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 (8): * Single equations (assignments): 8 * 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.001095/0.195, allocations: 0.8802 MB / 0.7238 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.1954, allocations: 127.8 kB / 0.724 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1954, allocations: 4.062 kB / 0.724 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.1957, allocations: 71.88 kB / 0.724 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.196, allocations: 10.12 kB / 0.724 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.1984, allocations: 1.725 MB / 0.7257 GB, free: 9.293 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1987, allocations: 0.6924 MB / 0.7264 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.529e-05/0.1988, allocations: 23.95 kB / 0.7264 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/0.1988, allocations: 27.44 kB / 0.7265 GB, free: 8.523 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1988, allocations: 0 / 0.7265 GB, free: 8.523 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.2228, allocations: 2.912 MB / 0.7293 GB, free: 5.719 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.26, allocations: 10.47 kB / 0.7293 GB, free: 5.711 MB / 0.545 GB " [Timeout remaining time 789] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat --tempDir=temp_ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2.fmu > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 15.025774135021493]