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.009982/0.009982, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0007729/0.0007729, allocations: 94.12 kB / 24.91 MB, free: 7.27 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.0008748/0.0008748, allocations: 168.9 kB / 28.62 MB, free: 4.449 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.872/0.872, allocations: 177.1 MB / 209.4 MB, free: 2.98 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.7276/0.7276, allocations: 102.4 MB / 368.7 MB, free: 1.441 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 0.5.2 (/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.623e-06/1.623e-06, allocations: 224 / 0.5374 GB, free: 39.79 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.126e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.79 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.001873/0.001894, allocations: 2.123 MB / 0.5395 GB, free: 38.33 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005661/0.00246, allocations: 417.1 kB / 0.5399 GB, free: 38.07 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.002521, allocations: 5.625 kB / 0.5399 GB, free: 38.06 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.002632, allocations: 6.984 kB / 0.5399 GB, free: 38.06 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 3.605e-05/0.002668, allocations: 12.25 kB / 0.5399 GB, free: 38.05 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.003097, allocations: 146.8 kB / 0.54 GB, free: 37.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.00322, allocations: 92.05 kB / 0.5401 GB, free: 37.95 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.00331, allocations: 4.062 kB / 0.5401 GB, free: 37.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.453e-05/0.003385, allocations: 49.38 kB / 0.5402 GB, free: 37.92 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.003448, allocations: 34.36 kB / 0.5402 GB, free: 37.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.003473, allocations: 6.594 kB / 0.5402 GB, free: 37.91 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.00362, allocations: 80.22 kB / 0.5403 GB, free: 37.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.003678, allocations: 24.8 kB / 0.5403 GB, free: 37.88 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.003711, allocations: 25.72 kB / 0.5403 GB, free: 37.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.003901, allocations: 151.7 kB / 0.5405 GB, free: 37.81 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003903, allocations: 3.906 kB / 0.5405 GB, free: 37.81 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003904, allocations: 0 / 0.5405 GB, free: 37.81 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.003908, allocations: 0 / 0.5405 GB, free: 37.81 MB / 490.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.000446/0.004354, allocations: 344.3 kB / 0.5408 GB, free: 37.51 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.00439, allocations: 9.375 kB / 0.5408 GB, free: 37.51 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.004432, allocations: 10.36 kB / 0.5408 GB, free: 37.5 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.004558, allocations: 132.1 kB / 0.541 GB, free: 37.36 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.004599, allocations: 38.28 kB / 0.541 GB, free: 37.33 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.004622, allocations: 6.469 kB / 0.541 GB, free: 37.33 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.004807, allocations: 110.3 kB / 0.5411 GB, free: 37.28 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.004815, allocations: 4.188 kB / 0.5411 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.004826, allocations: 9.359 kB / 0.5411 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.004833, allocations: 6.219 kB / 0.5411 GB, free: 37.26 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.005034, allocations: 99.61 kB / 0.5412 GB, free: 37.25 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.005377, allocations: 283.8 kB / 0.5415 GB, free: 37.02 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.00555, allocations: 105.6 kB / 0.5416 GB, free: 36.97 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.005655, allocations: 68.14 kB / 0.5417 GB, free: 36.95 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.005679, allocations: 5.406 kB / 0.5417 GB, free: 36.95 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.005694, allocations: 32.03 kB / 0.5417 GB, free: 36.91 MB / 490.8 MB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.005695, allocations: 0 / 0.5417 GB, free: 36.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=8): time 0.0003996/0.006095, allocations: 224.2 kB / 0.5419 GB, free: 36.83 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.006115, allocations: 56.91 kB / 0.542 GB, free: 36.76 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.006173, allocations: 126.8 kB / 0.5421 GB, free: 36.66 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.006181, allocations: 28.98 kB / 0.5421 GB, free: 36.62 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.006211, allocations: 96.22 kB / 0.5422 GB, free: 36.53 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.006235, allocations: 30.44 kB / 0.5422 GB, free: 36.51 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.006271, allocations: 30.14 kB / 0.5423 GB, free: 36.48 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.006308, allocations: 320.9 kB / 0.5426 GB, free: 36.17 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.006423, allocations: 53.94 kB / 0.5426 GB, free: 36.16 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/0.006521, allocations: 64.69 kB / 0.5427 GB, free: 36.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.006724, allocations: 128 kB / 0.5428 GB, free: 36.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006726, allocations: 0 / 0.5428 GB, free: 36.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000236/0.006962, allocations: 179.1 kB / 0.543 GB, free: 36.04 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.006974, allocations: 5.156 kB / 0.543 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.006978, allocations: 2.625 kB / 0.543 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.00699, allocations: 0.9688 kB / 0.543 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.00722, allocations: 68.62 kB / 0.543 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.007225, allocations: 2.812 kB / 0.543 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.007273, allocations: 18.56 kB / 0.5431 GB, free: 36.03 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.007281, allocations: 3.219 kB / 0.5431 GB, free: 36.03 MB / 490.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.148e-05/0.007333, allocations: 116.1 kB / 0.5432 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.007351, allocations: 12.58 kB / 0.5432 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.007389, allocations: 13.12 kB / 0.5432 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007392, allocations: 1.344 kB / 0.5432 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.007395, allocations: 0 / 0.5432 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.007399, allocations: 1.359 kB / 0.5432 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.038e-05/0.007489, allocations: 139.7 kB / 0.5433 GB, free: 35.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.00749, allocations: 0 / 0.5433 GB, free: 35.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.007706, allocations: 68.36 kB / 0.5434 GB, free: 35.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.007708, allocations: 5.312 kB / 0.5434 GB, free: 35.75 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.007719, allocations: 1.219 kB / 0.5434 GB, free: 35.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.00772, allocations: 3.938 kB / 0.5434 GB, free: 35.75 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007721, allocations: 0 / 0.5434 GB, free: 35.75 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.008101, allocations: 331.6 kB / 0.5437 GB, free: 35.57 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.008112, allocations: 15.36 kB / 0.5437 GB, free: 35.56 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.008125, allocations: 11.94 kB / 0.5438 GB, free: 35.55 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.008186, allocations: 15.45 kB / 0.5438 GB, free: 35.55 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.008224, allocations: 5.875 kB / 0.5438 GB, free: 35.55 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.00823, allocations: 6.75 kB / 0.5438 GB, free: 35.54 MB / 490.8 MB Notification: Performance of sorting global known variables: time 2.999e-05/0.008259, allocations: 97.19 kB / 0.5439 GB, free: 35.46 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.00826, allocations: 1.125 kB / 0.5439 GB, free: 35.46 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001905/0.00845, allocations: 32.97 kB / 0.5439 GB, free: 35.46 MB / 490.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.0001343/0.008584, allocations: 126.6 kB / 0.544 GB, free: 35.36 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.008844, allocations: 132.3 kB / 0.5442 GB, free: 35.34 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.008845, allocations: 0 / 0.5442 GB, free: 35.34 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.008956, allocations: 71.44 kB / 0.5442 GB, free: 35.32 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.009148, allocations: 9.125 kB / 0.5442 GB, free: 35.32 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.009494, allocations: 237.3 kB / 0.5445 GB, free: 35.13 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.255e-05/0.009546, allocations: 79.06 kB / 0.5445 GB, free: 35.05 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.009584, allocations: 24.06 kB / 0.5446 GB, free: 35.04 MB / 490.8 MB Notification: Performance of SimCode: time 9.11e-07/0.009585, allocations: 0 / 0.5446 GB, free: 35.04 MB / 490.8 MB Notification: Performance of Templates: time 0.002821/0.01241, allocations: 1.617 MB / 0.5461 GB, free: 34.91 MB / 490.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=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_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: 5.7863750690594316]