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.34 MB / 11.17 MB, free: 2.988 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.006896, allocations: 0.8268 MB / 12 MB, free: 2.156 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.07625/0.07625, allocations: 18.23 MB / 30.97 MB, free: 4.902 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009235/0.08548, allocations: 7.687 MB / 38.66 MB, free: 8.219 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.0005346/0.0005346, allocations: 83.69 kB / 39.47 MB, free: 7.414 MB / 44.04 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008194/0.001354, allocations: 437.1 kB / 39.9 MB, free: 6.992 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.0006496/0.0006496, allocations: 154.8 kB / 40.79 MB, free: 6.105 MB / 44.04 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007928/0.001442, allocations: 470.5 kB / 41.25 MB, free: 5.645 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.919/0.919, allocations: 177.2 MB / 219.2 MB, free: 11.4 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1033/1.022, allocations: 53.66 MB / 272.8 MB, free: 5.75 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.8087/0.8087, allocations: 102.5 MB / 376.1 MB, free: 8.809 MB / 362.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04541/0.8541, allocations: 28.56 MB / 404.7 MB, free: 12.29 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.743e-06/1.743e-06, allocations: 0 / 406.5 MB, free: 10.45 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.933e-05, allocations: 2.312 kB / 406.5 MB, free: 10.44 MB / 394.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003331/0.003361, allocations: 2.237 MB / 408.7 MB, free: 8.191 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007716/0.004132, allocations: 430.4 kB / 409.2 MB, free: 7.77 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.004183, allocations: 0 / 409.2 MB, free: 7.77 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 7.195e-05/0.004255, allocations: 7.875 kB / 409.2 MB, free: 7.762 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.004301, allocations: 19.88 kB / 409.2 MB, free: 7.742 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.004731, allocations: 135.5 kB / 409.3 MB, free: 7.609 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.004874, allocations: 87.66 kB / 409.4 MB, free: 7.523 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.004963, allocations: 11.98 kB / 409.4 MB, free: 7.512 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.005085, allocations: 55.83 kB / 409.5 MB, free: 7.457 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.005166, allocations: 35.88 kB / 409.5 MB, free: 7.422 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.005187, allocations: 8 kB / 409.5 MB, free: 7.414 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.005413, allocations: 83.92 kB / 409.6 MB, free: 7.332 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.00547, allocations: 19.92 kB / 409.6 MB, free: 7.312 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.005506, allocations: 19.94 kB / 409.6 MB, free: 7.293 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.005715, allocations: 99.66 kB / 409.7 MB, free: 7.195 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.082e-05/0.005736, allocations: 8 kB / 409.7 MB, free: 7.188 MB / 394.8 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005737, allocations: 0 / 409.7 MB, free: 7.188 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.005755, allocations: 0 / 409.7 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.0005746/0.006329, allocations: 324.2 kB / 410.1 MB, free: 6.844 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.006362, allocations: 8.031 kB / 410.1 MB, free: 6.836 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.006403, allocations: 16.92 kB / 410.1 MB, free: 6.82 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.006558, allocations: 125.6 kB / 410.2 MB, free: 6.672 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/0.006622, allocations: 42.25 kB / 410.3 MB, free: 6.625 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.006645, allocations: 4.375 kB / 410.3 MB, free: 6.621 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.006832, allocations: 93.67 kB / 410.3 MB, free: 6.52 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.006841, allocations: 192 / 410.3 MB, free: 6.52 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.006852, allocations: 4.375 kB / 410.4 MB, free: 6.516 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.00686, allocations: 4.125 kB / 410.4 MB, free: 6.512 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.397e-05/0.006934, allocations: 19.98 kB / 410.4 MB, free: 6.492 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.007301, allocations: 213.7 kB / 410.6 MB, free: 6.266 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.007412, allocations: 81.3 kB / 410.7 MB, free: 6.176 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.007451, allocations: 20.84 kB / 410.7 MB, free: 6.152 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.007477, allocations: 4 kB / 410.7 MB, free: 6.148 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.007509, allocations: 38.56 kB / 410.7 MB, free: 6.102 MB / 394.8 MB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.00751, allocations: 0 / 410.7 MB, free: 6.102 MB / 394.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001929/0.007703, allocations: 77.53 kB / 410.8 MB, free: 6.02 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.007739, allocations: 55.41 kB / 410.9 MB, free: 5.953 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.008081, allocations: 130.5 kB / 411 MB, free: 5.816 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.008097, allocations: 29.7 kB / 411 MB, free: 5.781 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.008135, allocations: 88.09 kB / 411.1 MB, free: 5.691 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.008168, allocations: 35.72 kB / 411.1 MB, free: 5.656 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.008213, allocations: 25.69 kB / 411.2 MB, free: 5.625 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.008298, allocations: 318.8 kB / 411.5 MB, free: 5.305 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.143e-05/0.00834, allocations: 22.81 kB / 411.5 MB, free: 5.281 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/0.008368, allocations: 11.94 kB / 411.5 MB, free: 5.27 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.957e-05/0.008447, allocations: 42.42 kB / 411.5 MB, free: 5.223 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.00845, allocations: 4 kB / 411.5 MB, free: 5.219 MB / 394.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001123/0.008562, allocations: 61.67 kB / 411.6 MB, free: 5.152 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.008577, allocations: 8.047 kB / 411.6 MB, free: 5.145 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.00858, allocations: 3.938 kB / 411.6 MB, free: 5.141 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.00859, allocations: 4 kB / 411.6 MB, free: 5.137 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.008917, allocations: 59.88 kB / 411.7 MB, free: 5.078 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.008921, allocations: 4 kB / 411.7 MB, free: 5.074 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.008975, allocations: 8 kB / 411.7 MB, free: 5.066 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.008982, allocations: 0 / 411.7 MB, free: 5.066 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.863e-05/0.009051, allocations: 112.7 kB / 411.8 MB, free: 4.945 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.009085, allocations: 15.92 kB / 411.8 MB, free: 4.93 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.009128, allocations: 12.44 kB / 411.8 MB, free: 4.918 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.009131, allocations: 0 / 411.8 MB, free: 4.918 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.009132, allocations: 0 / 411.8 MB, free: 4.918 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.009135, allocations: 4 kB / 411.8 MB, free: 4.914 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.009273, allocations: 89.84 kB / 411.9 MB, free: 4.809 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.009274, allocations: 0 / 411.9 MB, free: 4.809 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.009589, allocations: 59.88 kB / 412 MB, free: 4.75 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.009605, allocations: 15.88 kB / 412 MB, free: 4.734 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.009608, allocations: 0 / 412 MB, free: 4.734 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.009622, allocations: 7.938 kB / 412 MB, free: 4.727 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.009624, allocations: 4 kB / 412 MB, free: 4.723 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.009625, allocations: 0 / 412 MB, free: 4.723 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.00985, allocations: 222.5 kB / 412.2 MB, free: 4.488 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.009872, allocations: 4 kB / 412.2 MB, free: 4.484 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.009963, allocations: 15.92 kB / 412.2 MB, free: 4.469 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.009999, allocations: 3.984 kB / 412.3 MB, free: 4.465 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.01001, allocations: 0 / 412.3 MB, free: 4.465 MB / 394.8 MB Notification: Performance of sorting global known variables: time 2.726e-05/0.01003, allocations: 28.83 kB / 412.3 MB, free: 4.434 MB / 394.8 MB Notification: Performance of sort global known variables: time 9e-08/0.01003, allocations: 0 / 412.3 MB, free: 4.434 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0002283/0.01026, allocations: 35.88 kB / 412.3 MB, free: 4.398 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.0001746/0.01044, allocations: 112.4 kB / 412.4 MB, free: 4.281 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.01055, allocations: 36.84 kB / 412.5 MB, free: 4.242 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.01056, allocations: 4 kB / 412.5 MB, free: 4.238 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.01061, allocations: 24.86 kB / 412.5 MB, free: 4.211 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.01081, allocations: 19.98 kB / 412.5 MB, free: 4.191 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.01135, allocations: 210 kB / 412.7 MB, free: 3.957 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/0.0114, allocations: 63.34 kB / 412.8 MB, free: 3.875 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.01145, allocations: 11.98 kB / 412.8 MB, free: 3.863 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.01152, allocations: 59.38 kB / 412.8 MB, free: 3.805 MB / 394.8 MB Notification: Performance of SimCode: time 9.42e-07/0.01152, allocations: 0 / 412.8 MB, free: 3.805 MB / 394.8 MB Notification: Performance of Templates: time 0.004183/0.0157, allocations: 1.516 MB / 414.4 MB, free: 2.301 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,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2971879094839096]