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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01443/0.01443, allocations: 1.784 MB / 21.64 MB, free: 2.82 MB / 18.57 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.0008663/0.0008663, allocations: 81.41 kB / 25.48 MB, free: 6.422 MB / 18.57 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.0009081/0.0009081, allocations: 166.9 kB / 28.89 MB, free: 3.387 MB / 18.57 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.9675/0.9675, allocations: 177.2 MB / 209.3 MB, free: 2.234 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7229/0.7229, allocations: 102.4 MB / 368.3 MB, free: 0.7852 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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 SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|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="Time|noise.y|noise.y_",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 415.1 MB, free: 2.195 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.336e-05, allocations: 2.312 kB / 415.1 MB, free: 2.191 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.002654/0.002677, allocations: 2.239 MB / 417.3 MB, free: 15.94 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006133/0.003291, allocations: 430.3 kB / 417.8 MB, free: 15.52 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.00334, allocations: 0 / 417.8 MB, free: 15.52 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 9.453e-05/0.003435, allocations: 11.86 kB / 417.8 MB, free: 15.5 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 4.143e-05/0.003476, allocations: 11.88 kB / 417.8 MB, free: 15.49 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.003875, allocations: 139.5 kB / 417.9 MB, free: 15.36 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.003995, allocations: 83.7 kB / 418 MB, free: 15.27 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.179e-05/0.004067, allocations: 4 kB / 418 MB, free: 15.27 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.07e-05/0.004138, allocations: 47.89 kB / 418 MB, free: 15.22 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.004195, allocations: 35.88 kB / 418.1 MB, free: 15.19 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.004209, allocations: 8 kB / 418.1 MB, free: 15.18 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.004377, allocations: 95.8 kB / 418.2 MB, free: 15.09 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.004426, allocations: 27.91 kB / 418.2 MB, free: 15.06 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.004453, allocations: 27.91 kB / 418.2 MB, free: 15.03 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.00461, allocations: 123.6 kB / 418.4 MB, free: 14.91 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004612, allocations: 3.984 kB / 418.4 MB, free: 14.91 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004613, allocations: 0 / 418.4 MB, free: 14.91 MB / 394.8 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.004617, allocations: 0 / 418.4 MB, free: 14.91 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.0003703/0.004987, allocations: 308.5 kB / 418.7 MB, free: 14.58 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.005016, allocations: 8.031 kB / 418.7 MB, free: 14.57 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.005047, allocations: 12.94 kB / 418.7 MB, free: 14.56 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.005161, allocations: 133.6 kB / 418.8 MB, free: 14.4 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.0052, allocations: 34.27 kB / 418.8 MB, free: 14.36 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.005218, allocations: 4.375 kB / 418.9 MB, free: 14.36 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.005352, allocations: 97.64 kB / 418.9 MB, free: 14.25 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.005357, allocations: 192 / 418.9 MB, free: 14.25 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.005366, allocations: 4.375 kB / 419 MB, free: 14.25 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.005371, allocations: 4.125 kB / 419 MB, free: 14.25 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.179e-05/0.005423, allocations: 19.98 kB / 419 MB, free: 14.23 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.005683, allocations: 213.8 kB / 419.2 MB, free: 14 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.749e-05/0.00576, allocations: 89.22 kB / 419.3 MB, free: 13.9 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.005786, allocations: 16.86 kB / 419.3 MB, free: 13.88 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.005801, allocations: 0 / 419.3 MB, free: 13.88 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.005821, allocations: 38.56 kB / 419.3 MB, free: 13.84 MB / 394.8 MB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.005822, allocations: 0 / 419.3 MB, free: 13.84 MB / 394.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001408/0.005963, allocations: 73.59 kB / 419.4 MB, free: 13.76 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.005988, allocations: 59.34 kB / 419.5 MB, free: 13.69 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.006047, allocations: 128.4 kB / 419.6 MB, free: 13.55 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.006057, allocations: 33.7 kB / 419.6 MB, free: 13.51 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.006095, allocations: 92.11 kB / 419.7 MB, free: 13.42 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.006121, allocations: 31.73 kB / 419.7 MB, free: 13.39 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.006155, allocations: 25.7 kB / 419.8 MB, free: 13.36 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.006224, allocations: 318.8 kB / 420.1 MB, free: 13.04 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.006246, allocations: 14.83 kB / 420.1 MB, free: 13.02 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.006265, allocations: 11.98 kB / 420.1 MB, free: 13.01 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.006317, allocations: 38.5 kB / 420.1 MB, free: 12.96 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.006319, allocations: 0 / 420.1 MB, free: 12.96 MB / 394.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.011e-05/0.006389, allocations: 65.61 kB / 420.2 MB, free: 12.89 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.006399, allocations: 7.938 kB / 420.2 MB, free: 12.89 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.006403, allocations: 4 kB / 420.2 MB, free: 12.88 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.006411, allocations: 4 kB / 420.2 MB, free: 12.88 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.006617, allocations: 51.94 kB / 420.3 MB, free: 12.83 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-06/0.006618, allocations: 3.938 kB / 420.3 MB, free: 12.82 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.006651, allocations: 15.95 kB / 420.3 MB, free: 12.81 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.006658, allocations: 3.984 kB / 420.3 MB, free: 12.8 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 5.538e-05/0.006713, allocations: 120.7 kB / 420.4 MB, free: 12.68 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.006734, allocations: 7.938 kB / 420.4 MB, free: 12.67 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.006765, allocations: 16.42 kB / 420.4 MB, free: 12.65 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.006768, allocations: 4 kB / 420.4 MB, free: 12.65 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.00677, allocations: 0 / 420.4 MB, free: 12.65 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.006772, allocations: 0 / 420.4 MB, free: 12.65 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.736e-05/0.006869, allocations: 81.86 kB / 420.5 MB, free: 12.55 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006871, allocations: 112 / 420.5 MB, free: 12.55 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.007058, allocations: 63.88 kB / 420.6 MB, free: 12.49 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.00706, allocations: 4 kB / 420.6 MB, free: 12.48 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.007067, allocations: 0 / 420.6 MB, free: 12.48 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.007069, allocations: 3.938 kB / 420.6 MB, free: 12.48 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.00707, allocations: 0 / 420.6 MB, free: 12.48 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.007228, allocations: 226.5 kB / 420.8 MB, free: 12.24 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.007236, allocations: 7.891 kB / 420.8 MB, free: 12.23 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.007249, allocations: 8 kB / 420.8 MB, free: 12.23 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.007298, allocations: 11.92 kB / 420.8 MB, free: 12.21 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.007331, allocations: 7.984 kB / 420.8 MB, free: 12.21 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.007336, allocations: 4.031 kB / 420.8 MB, free: 12.2 MB / 394.8 MB Notification: Performance of sorting global known variables: time 2.025e-05/0.007356, allocations: 20.84 kB / 420.9 MB, free: 12.18 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007356, allocations: 4 kB / 420.9 MB, free: 12.18 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.00017/0.007526, allocations: 31.89 kB / 420.9 MB, free: 12.14 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.0001383/0.007664, allocations: 108.4 kB / 421 MB, free: 12.03 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 9.598e-05/0.00776, allocations: 44.84 kB / 421 MB, free: 11.98 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.007763, allocations: 0 / 421 MB, free: 11.98 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 3.335e-05/0.007797, allocations: 36.77 kB / 421.1 MB, free: 11.95 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.007935, allocations: 12 kB / 421.1 MB, free: 11.93 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.008217, allocations: 210.1 kB / 421.3 MB, free: 11.7 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.00825, allocations: 63.34 kB / 421.4 MB, free: 11.61 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 3.231e-05/0.008282, allocations: 7.984 kB / 421.4 MB, free: 11.61 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.008343, allocations: 59.38 kB / 421.4 MB, free: 11.55 MB / 394.8 MB Notification: Performance of SimCode: time 7.22e-07/0.008344, allocations: 0 / 421.4 MB, free: 11.55 MB / 394.8 MB Notification: Performance of Templates: time 0.003216/0.01156, allocations: 1.5 MB / 422.9 MB, free: 10.06 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 -s gbode -gbm=radauIIA3 -emit_protected -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.3693829090334475]