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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.006352/0.006352, allocations: 1.349 MB / 11.25 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001678/0.00803, allocations: 0.827 MB / 12.08 MB, free: 2.082 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07893/0.07893, allocations: 18.31 MB / 31.13 MB, free: 4.84 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01053/0.08946, allocations: 7.678 MB / 38.81 MB, free: 8.156 MB / 44.04 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.0005537/0.0005537, allocations: 79.95 kB / 39.64 MB, free: 7.328 MB / 44.04 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009344/0.001488, allocations: 456.3 kB / 40.08 MB, free: 6.891 MB / 44.04 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.0006731/0.0006731, allocations: 151.9 kB / 40.99 MB, free: 5.996 MB / 44.04 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009331/0.001606, allocations: 479.1 kB / 41.45 MB, free: 5.527 MB / 44.04 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 0.9348/0.9348, allocations: 177.2 MB / 219.4 MB, free: 11.31 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09058/1.025, allocations: 53.68 MB / 273.1 MB, free: 5.629 MB / 266.7 MB " [Timeout remaining time 179] 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 0.733/0.733, allocations: 102.5 MB / 376.3 MB, free: 8.766 MB / 362.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05137/0.7844, allocations: 28.57 MB / 404.9 MB, free: 12.31 MB / 394.8 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="noise.y|noise.y_",fileNamePrefix="ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="noise.y|noise.y_",fileNamePrefix="ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 406.8 MB, free: 10.45 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.027e-05, allocations: 6.25 kB / 406.8 MB, free: 10.44 MB / 394.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.002707/0.002727, allocations: 2.245 MB / 409 MB, free: 8.18 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005458/0.003273, allocations: 426.3 kB / 409.5 MB, free: 7.762 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.003324, allocations: 0 / 409.5 MB, free: 7.762 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 7.233e-05/0.003396, allocations: 19.86 kB / 409.5 MB, free: 7.742 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 3.433e-05/0.00343, allocations: 7.875 kB / 409.5 MB, free: 7.734 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.003769, allocations: 131.5 kB / 409.6 MB, free: 7.605 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.003899, allocations: 87.7 kB / 409.7 MB, free: 7.52 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.982e-05/0.003979, allocations: 7.984 kB / 409.7 MB, free: 7.512 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.971e-05/0.004078, allocations: 55.83 kB / 409.8 MB, free: 7.457 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.967e-05/0.004148, allocations: 35.89 kB / 409.8 MB, free: 7.422 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.004173, allocations: 8 kB / 409.8 MB, free: 7.414 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.004356, allocations: 83.92 kB / 409.9 MB, free: 7.332 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.004412, allocations: 11.94 kB / 409.9 MB, free: 7.32 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.004438, allocations: 16 kB / 409.9 MB, free: 7.305 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.004607, allocations: 119.6 kB / 410 MB, free: 7.188 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.004619, allocations: 0 / 410 MB, free: 7.188 MB / 394.8 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00462, allocations: 0 / 410 MB, free: 7.188 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.00463, allocations: 0 / 410 MB, free: 7.188 MB / 394.8 MB 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.0004723/0.005103, allocations: 332.1 kB / 410.4 MB, free: 6.836 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.005141, allocations: 8.031 kB / 410.4 MB, free: 6.828 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.005176, allocations: 8.938 kB / 410.4 MB, free: 6.82 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.005309, allocations: 133.6 kB / 410.5 MB, free: 6.664 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.005354, allocations: 30.27 kB / 410.5 MB, free: 6.629 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.005378, allocations: 12.38 kB / 410.5 MB, free: 6.617 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.005521, allocations: 89.72 kB / 410.6 MB, free: 6.52 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.005527, allocations: 4.188 kB / 410.6 MB, free: 6.516 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.005536, allocations: 4.359 kB / 410.6 MB, free: 6.512 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.005542, allocations: 8.125 kB / 410.6 MB, free: 6.504 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.378e-05/0.005595, allocations: 15.98 kB / 410.7 MB, free: 6.488 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.005849, allocations: 217.7 kB / 410.9 MB, free: 6.258 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.005929, allocations: 89.28 kB / 411 MB, free: 6.16 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.005955, allocations: 20.86 kB / 411 MB, free: 6.137 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.005974, allocations: 4 kB / 411 MB, free: 6.133 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.005992, allocations: 34.55 kB / 411 MB, free: 6.09 MB / 394.8 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.005994, allocations: 0 / 411 MB, free: 6.09 MB / 394.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001621/0.006156, allocations: 77.55 kB / 411.1 MB, free: 6.008 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.006184, allocations: 51.41 kB / 411.1 MB, free: 5.945 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.817e-05/0.006252, allocations: 132.9 kB / 411.3 MB, free: 5.805 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.006267, allocations: 29.7 kB / 411.3 MB, free: 5.77 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.006301, allocations: 88.12 kB / 411.4 MB, free: 5.68 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.006329, allocations: 35.67 kB / 411.4 MB, free: 5.645 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.00636, allocations: 21.72 kB / 411.4 MB, free: 5.617 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.006434, allocations: 326.8 kB / 411.8 MB, free: 5.289 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.006455, allocations: 10.83 kB / 411.8 MB, free: 5.277 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.006474, allocations: 11.98 kB / 411.8 MB, free: 5.266 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.006527, allocations: 46.42 kB / 411.8 MB, free: 5.215 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.006529, allocations: 0 / 411.8 MB, free: 5.215 MB / 394.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.276e-05/0.006602, allocations: 65.67 kB / 411.9 MB, free: 5.145 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.006615, allocations: 19.31 kB / 411.9 MB, free: 5.129 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.00662, allocations: 0 / 411.9 MB, free: 5.129 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.006629, allocations: 0 / 411.9 MB, free: 5.129 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.006883, allocations: 59.94 kB / 412 MB, free: 5.07 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.006886, allocations: 0 / 412 MB, free: 5.07 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.006917, allocations: 7.984 kB / 412 MB, free: 5.062 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.006924, allocations: 4 kB / 412 MB, free: 5.059 MB / 394.8 MB 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 6.648e-05/0.00699, allocations: 112.7 kB / 412.1 MB, free: 4.938 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.007009, allocations: 11.92 kB / 412.1 MB, free: 4.926 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.007055, allocations: 16.44 kB / 412.1 MB, free: 4.91 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007057, allocations: 0 / 412.1 MB, free: 4.91 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.007059, allocations: 4.109 kB / 412.1 MB, free: 4.906 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.007063, allocations: 3.938 kB / 412.1 MB, free: 4.902 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.533e-05/0.007158, allocations: 81.88 kB / 412.2 MB, free: 4.805 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.007159, allocations: 0 / 412.2 MB, free: 4.805 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.007347, allocations: 55.88 kB / 412.3 MB, free: 4.75 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.007356, allocations: 11.89 kB / 412.3 MB, free: 4.738 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007358, allocations: 0 / 412.3 MB, free: 4.738 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.007368, allocations: 7.922 kB / 412.3 MB, free: 4.73 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.007371, allocations: 8 kB / 412.3 MB, free: 4.723 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007371, allocations: 0 / 412.3 MB, free: 4.723 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.007541, allocations: 226.2 kB / 412.5 MB, free: 4.484 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.007557, allocations: 8 kB / 412.5 MB, free: 4.477 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.007603, allocations: 7.938 kB / 412.5 MB, free: 4.469 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.007634, allocations: 7.984 kB / 412.5 MB, free: 4.461 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.007638, allocations: 7.984 kB / 412.5 MB, free: 4.453 MB / 394.8 MB Notification: Performance of sorting global known variables: time 1.914e-05/0.007657, allocations: 26.03 kB / 412.6 MB, free: 4.426 MB / 394.8 MB Notification: Performance of sort global known variables: time 4e-08/0.007657, allocations: 4 kB / 412.6 MB, free: 4.422 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.000146/0.007803, allocations: 31.94 kB / 412.6 MB, free: 4.391 MB / 394.8 MB 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.0001279/0.007931, allocations: 100.4 kB / 412.7 MB, free: 4.285 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 9.123e-05/0.008023, allocations: 48.83 kB / 412.8 MB, free: 4.234 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.008028, allocations: 0 / 412.8 MB, free: 4.234 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.008069, allocations: 33.17 kB / 412.8 MB, free: 4.199 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.008238, allocations: 72.19 kB / 412.9 MB, free: 4.117 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.008637, allocations: 210.1 kB / 413.1 MB, free: 3.883 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.332e-05/0.008671, allocations: 71.33 kB / 413.1 MB, free: 3.793 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 3.177e-05/0.008702, allocations: 4 kB / 413.1 MB, free: 3.789 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.008758, allocations: 67.36 kB / 413.2 MB, free: 3.723 MB / 394.8 MB Notification: Performance of SimCode: time 5.81e-07/0.008759, allocations: 0 / 413.2 MB, free: 3.723 MB / 394.8 MB Notification: Performance of Templates: time 0.003125/0.01188, allocations: 1.569 MB / 414.8 MB, free: 2.156 MB / 394.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.makefile [Timeout 800] (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 & ./ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 3.311568862758577]