Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.005761/0.005761, allocations: 1.349 MB / 11.25 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.007071, 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.08209/0.08209, allocations: 18.3 MB / 31.13 MB, free: 4.84 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01119/0.09329, allocations: 7.682 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.0006433/0.0006433, allocations: 87.02 kB / 39.64 MB, free: 7.324 MB / 44.04 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.001813, allocations: 448 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.001055/0.001055, allocations: 159.1 kB / 40.99 MB, free: 5.992 MB / 44.04 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002296, allocations: 475.4 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.9657/0.9657, allocations: 177.2 MB / 219.4 MB, free: 11.31 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08576/1.051, allocations: 53.68 MB / 273.1 MB, free: 5.625 MB / 266.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.7039/0.7039, allocations: 102.6 MB / 376.5 MB, free: 8.598 MB / 362.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04698/0.7509, allocations: 28.55 MB / 405 MB, free: 12.1 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-main/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_dev_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_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 406.9 MB, free: 10.23 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.29e-05, allocations: 2.312 kB / 406.9 MB, free: 10.23 MB / 394.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.002554/0.002577, allocations: 2.237 MB / 409.1 MB, free: 7.977 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005582/0.003136, allocations: 434.3 kB / 409.5 MB, free: 7.551 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.003188, allocations: 4 kB / 409.6 MB, free: 7.547 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 8.903e-05/0.003277, allocations: 15.86 kB / 409.6 MB, free: 7.531 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.003314, allocations: 7.875 kB / 409.6 MB, free: 7.523 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.00368, allocations: 143.4 kB / 409.7 MB, free: 7.383 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.003801, allocations: 71.78 kB / 409.8 MB, free: 7.312 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.003892, allocations: 15.97 kB / 409.8 MB, free: 7.297 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.003999, allocations: 55.84 kB / 409.9 MB, free: 7.242 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.004071, allocations: 31.88 kB / 409.9 MB, free: 7.211 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.004086, allocations: 8 kB / 409.9 MB, free: 7.203 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.004247, allocations: 87.92 kB / 410 MB, free: 7.117 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.0043, allocations: 23.92 kB / 410 MB, free: 7.094 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.004328, allocations: 15.94 kB / 410 MB, free: 7.078 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.00449, allocations: 103.7 kB / 410.1 MB, free: 6.977 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.004501, allocations: 0 / 410.1 MB, free: 6.977 MB / 394.8 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004502, allocations: 0 / 410.1 MB, free: 6.977 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.004513, allocations: 0 / 410.1 MB, free: 6.977 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.0004607/0.004974, allocations: 332.2 kB / 410.4 MB, free: 6.625 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.005004, allocations: 12.03 kB / 410.5 MB, free: 6.613 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.00504, allocations: 8.922 kB / 410.5 MB, free: 6.605 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.005162, allocations: 133.6 kB / 410.6 MB, free: 6.449 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.005213, allocations: 38.25 kB / 410.6 MB, free: 6.406 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.005237, allocations: 4.375 kB / 410.6 MB, free: 6.402 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.005379, allocations: 89.67 kB / 410.7 MB, free: 6.305 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.005385, allocations: 192 / 410.7 MB, free: 6.305 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.005396, allocations: 4.375 kB / 410.7 MB, free: 6.301 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.005406, allocations: 8.125 kB / 410.7 MB, free: 6.293 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.788e-05/0.005454, allocations: 15.98 kB / 410.8 MB, free: 6.277 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.005716, allocations: 217.7 kB / 411 MB, free: 6.047 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.211e-05/0.005799, allocations: 89.28 kB / 411.1 MB, free: 5.949 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.005823, allocations: 16.84 kB / 411.1 MB, free: 5.93 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.005844, allocations: 4 kB / 411.1 MB, free: 5.926 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.005864, allocations: 34.56 kB / 411.1 MB, free: 5.883 MB / 394.8 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.005865, allocations: 0 / 411.1 MB, free: 5.883 MB / 394.8 MB Notification: Performance of matching and sorting (n=8): time 0.000161/0.006026, allocations: 77.55 kB / 411.2 MB, free: 5.801 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.006051, allocations: 51.41 kB / 411.2 MB, free: 5.738 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.541e-05/0.006117, allocations: 134.5 kB / 411.4 MB, free: 5.598 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.006131, allocations: 29.7 kB / 411.4 MB, free: 5.562 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.006168, allocations: 96.08 kB / 411.5 MB, free: 5.465 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.006197, allocations: 27.73 kB / 411.5 MB, free: 5.438 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.006231, allocations: 29.69 kB / 411.5 MB, free: 5.402 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 8.638e-05/0.006317, allocations: 318.9 kB / 411.9 MB, free: 5.082 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.006346, allocations: 18.75 kB / 411.9 MB, free: 5.062 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.006401, allocations: 8 kB / 411.9 MB, free: 5.055 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.006459, allocations: 46.42 kB / 411.9 MB, free: 5.004 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.006462, allocations: 0 / 411.9 MB, free: 5.004 MB / 394.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.775e-05/0.00655, allocations: 65.8 kB / 412 MB, free: 4.934 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.006567, allocations: 15.06 kB / 412 MB, free: 4.922 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.006572, allocations: 0 / 412 MB, free: 4.922 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.006586, allocations: 4 kB / 412 MB, free: 4.918 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.006851, allocations: 51.95 kB / 412.1 MB, free: 4.867 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.006856, allocations: 3.984 kB / 412.1 MB, free: 4.863 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.612e-05/0.006893, allocations: 12 kB / 412.1 MB, free: 4.852 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.006898, allocations: 0 / 412.1 MB, free: 4.852 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.676e-05/0.006965, allocations: 116.7 kB / 412.2 MB, free: 4.727 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.006985, allocations: 19.92 kB / 412.2 MB, free: 4.707 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.007025, allocations: 8.438 kB / 412.2 MB, free: 4.695 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007027, allocations: 0 / 412.2 MB, free: 4.695 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007029, allocations: 0 / 412.2 MB, free: 4.695 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.007031, allocations: 4 kB / 412.2 MB, free: 4.691 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.007137, allocations: 81.86 kB / 412.3 MB, free: 4.594 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.007139, allocations: 0 / 412.3 MB, free: 4.594 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.007431, allocations: 63.88 kB / 412.4 MB, free: 4.531 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.007446, allocations: 15.89 kB / 412.4 MB, free: 4.516 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.007449, allocations: 0 / 412.4 MB, free: 4.516 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.007465, allocations: 7.938 kB / 412.4 MB, free: 4.508 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.007467, allocations: 0 / 412.4 MB, free: 4.508 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.007469, allocations: 0 / 412.4 MB, free: 4.508 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.007702, allocations: 222.6 kB / 412.6 MB, free: 4.273 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.007722, allocations: 8 kB / 412.6 MB, free: 4.266 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.007805, allocations: 11.92 kB / 412.6 MB, free: 4.254 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.007843, allocations: 7.984 kB / 412.6 MB, free: 4.246 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.007851, allocations: 7.938 kB / 412.6 MB, free: 4.238 MB / 394.8 MB Notification: Performance of sorting global known variables: time 2.827e-05/0.007879, allocations: 24.88 kB / 412.7 MB, free: 4.211 MB / 394.8 MB Notification: Performance of sort global known variables: time 7e-08/0.007879, allocations: 0 / 412.7 MB, free: 4.211 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0002597/0.008139, allocations: 27.94 kB / 412.7 MB, free: 4.184 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.0002019/0.008341, allocations: 116.3 kB / 412.8 MB, free: 4.062 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.008461, allocations: 44.84 kB / 412.8 MB, free: 4.016 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/0.008469, allocations: 0 / 412.8 MB, free: 4.016 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 6.392e-05/0.008533, allocations: 36.83 kB / 412.9 MB, free: 3.977 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.008792, allocations: 75.39 kB / 413 MB, free: 3.891 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/0.009349, allocations: 214 kB / 413.2 MB, free: 3.652 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.167e-05/0.009391, allocations: 63.34 kB / 413.2 MB, free: 3.57 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 4.755e-05/0.009439, allocations: 8 kB / 413.2 MB, free: 3.562 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.009518, allocations: 59.36 kB / 413.3 MB, free: 3.504 MB / 394.8 MB Notification: Performance of SimCode: time 6.61e-07/0.009519, allocations: 3.938 kB / 413.3 MB, free: 3.5 MB / 394.8 MB Notification: Performance of Templates: time 0.003536/0.01306, allocations: 1.565 MB / 414.9 MB, free: 1.949 MB / 394.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_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.3419536724686623]