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.009405/0.009405, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0006952/0.0006952, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007952/0.0007952, allocations: 164.4 kB / 27.85 MB, free: 5.496 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.8601/0.8601, allocations: 177.2 MB / 208.6 MB, free: 2.949 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.7211/0.7211, allocations: 102.5 MB / 367.9 MB, free: 1.434 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.312e-06/1.312e-06, allocations: 0 / 0.5367 GB, free: 39.83 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.056e-05, allocations: 3.156 kB / 0.5367 GB, free: 39.82 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.001985/0.002005, allocations: 2.117 MB / 0.5387 GB, free: 38.37 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006113/0.002617, allocations: 422.4 kB / 0.5391 GB, free: 38.11 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.002671, allocations: 4.781 kB / 0.5391 GB, free: 38.1 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.002791, allocations: 8.406 kB / 0.5391 GB, free: 38.1 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.00283, allocations: 14.12 kB / 0.5392 GB, free: 38.09 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.003286, allocations: 144.3 kB / 0.5393 GB, free: 38.02 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.003415, allocations: 89.92 kB / 0.5394 GB, free: 37.98 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003516, allocations: 4.5 kB / 0.5394 GB, free: 37.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.786e-05/0.003594, allocations: 49.28 kB / 0.5394 GB, free: 37.96 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.00366, allocations: 33.62 kB / 0.5395 GB, free: 37.95 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.003678, allocations: 6.969 kB / 0.5395 GB, free: 37.95 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.003845, allocations: 79.36 kB / 0.5396 GB, free: 37.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.003915, allocations: 29.69 kB / 0.5396 GB, free: 37.91 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.003956, allocations: 21.77 kB / 0.5396 GB, free: 37.9 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.0042, allocations: 154 kB / 0.5397 GB, free: 37.84 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004202, allocations: 0 / 0.5397 GB, free: 37.84 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.302e-06/0.004204, allocations: 5.188 kB / 0.5398 GB, free: 37.84 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.004209, allocations: 0 / 0.5398 GB, free: 37.84 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.0005146/0.004724, allocations: 346.4 kB / 0.5401 GB, free: 37.54 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.004764, allocations: 10.28 kB / 0.5401 GB, free: 37.54 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.004801, allocations: 9.141 kB / 0.5401 GB, free: 37.54 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.004925, allocations: 134.2 kB / 0.5402 GB, free: 37.39 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.004967, allocations: 38.17 kB / 0.5403 GB, free: 37.36 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.00499, allocations: 3.656 kB / 0.5403 GB, free: 37.36 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.005192, allocations: 105.1 kB / 0.5404 GB, free: 37.31 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.0052, allocations: 1.125 kB / 0.5404 GB, free: 37.31 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.005211, allocations: 384 / 0.5404 GB, free: 37.31 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.005216, allocations: 5.531 kB / 0.5404 GB, free: 37.31 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.005417, allocations: 115.6 kB / 0.5405 GB, free: 37.28 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.005769, allocations: 281.6 kB / 0.5408 GB, free: 37.05 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.005943, allocations: 105.8 kB / 0.5409 GB, free: 37.01 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.006056, allocations: 66.92 kB / 0.5409 GB, free: 36.99 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.006086, allocations: 5.469 kB / 0.5409 GB, free: 36.98 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.006099, allocations: 32.19 kB / 0.541 GB, free: 36.95 MB / 490.8 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.0061, allocations: 0 / 0.541 GB, free: 36.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004108/0.006511, allocations: 218 kB / 0.5412 GB, free: 36.87 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.006531, allocations: 54.12 kB / 0.5412 GB, free: 36.81 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.674e-05/0.006588, allocations: 125.9 kB / 0.5413 GB, free: 36.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.006597, allocations: 26.36 kB / 0.5414 GB, free: 36.67 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.006627, allocations: 99.72 kB / 0.5415 GB, free: 36.57 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.006652, allocations: 31.91 kB / 0.5415 GB, free: 36.55 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.006686, allocations: 24.83 kB / 0.5415 GB, free: 36.53 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.736e-05/0.006724, allocations: 321.3 kB / 0.5418 GB, free: 36.21 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.006825, allocations: 59.91 kB / 0.5419 GB, free: 36.2 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.006923, allocations: 64.25 kB / 0.5419 GB, free: 36.19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.007137, allocations: 130.1 kB / 0.5421 GB, free: 36.15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.007139, allocations: 0 / 0.5421 GB, free: 36.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002353/0.007374, allocations: 175.7 kB / 0.5422 GB, free: 36.08 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.007388, allocations: 5.625 kB / 0.5422 GB, free: 36.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.007396, allocations: 0.9688 kB / 0.5422 GB, free: 36.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.007409, allocations: 1.125 kB / 0.5422 GB, free: 36.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.007642, allocations: 64.84 kB / 0.5423 GB, free: 36.08 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.007647, allocations: 3.938 kB / 0.5423 GB, free: 36.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.007694, allocations: 16.84 kB / 0.5423 GB, free: 36.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.007703, allocations: 6.75 kB / 0.5423 GB, free: 36.07 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 4.571e-05/0.007749, allocations: 118 kB / 0.5424 GB, free: 35.96 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.007767, allocations: 12.67 kB / 0.5424 GB, free: 35.95 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.007804, allocations: 9.641 kB / 0.5425 GB, free: 35.94 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007806, allocations: 5.312 kB / 0.5425 GB, free: 35.94 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.00781, allocations: 3.031 kB / 0.5425 GB, free: 35.94 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.007814, allocations: 3.422 kB / 0.5425 GB, free: 35.94 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.006e-05/0.007904, allocations: 135.3 kB / 0.5426 GB, free: 35.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007905, allocations: 4 kB / 0.5426 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.008126, allocations: 68.33 kB / 0.5427 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008128, allocations: 3.938 kB / 0.5427 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.008137, allocations: 1.219 kB / 0.5427 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.008139, allocations: 1.156 kB / 0.5427 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00814, allocations: 288 / 0.5427 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.008534, allocations: 343.5 kB / 0.543 GB, free: 35.6 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.008545, allocations: 11.45 kB / 0.543 GB, free: 35.59 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.008559, allocations: 5.75 kB / 0.543 GB, free: 35.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.008623, allocations: 14.77 kB / 0.543 GB, free: 35.59 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.008659, allocations: 5.938 kB / 0.543 GB, free: 35.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.008664, allocations: 3.125 kB / 0.543 GB, free: 35.59 MB / 490.8 MB Notification: Performance of sorting global known variables: time 2.906e-05/0.008693, allocations: 105.3 kB / 0.5431 GB, free: 35.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.008693, allocations: 0 / 0.5431 GB, free: 35.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001827/0.008876, allocations: 34.81 kB / 0.5432 GB, free: 35.5 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.0001378/0.009014, allocations: 120.3 kB / 0.5433 GB, free: 35.41 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.009285, allocations: 136 kB / 0.5434 GB, free: 35.38 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.009286, allocations: 4.688 kB / 0.5434 GB, free: 35.38 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.009397, allocations: 69.36 kB / 0.5435 GB, free: 35.36 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.009594, allocations: 8.766 kB / 0.5435 GB, free: 35.36 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.00993, allocations: 209.2 kB / 0.5437 GB, free: 35.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.009983, allocations: 87.69 kB / 0.5438 GB, free: 35.12 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 4.844e-05/0.01003, allocations: 13.67 kB / 0.5438 GB, free: 35.12 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.01006, allocations: 14.48 kB / 0.5438 GB, free: 35.11 MB / 490.8 MB Notification: Performance of SimCode: time 8.12e-07/0.01006, allocations: 0 / 0.5438 GB, free: 35.11 MB / 490.8 MB Notification: Performance of Templates: time 0.003407/0.01347, allocations: 1.452 MB / 0.5452 GB, free: 34.96 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: 3.8694367315620184]