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.01001/0.01001, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0007305/0.0007305, allocations: 87.47 kB / 24.15 MB, free: 400 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.0007979/0.0007979, allocations: 165 kB / 27.86 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.8773/0.8773, allocations: 177.1 MB / 208.6 MB, free: 2.984 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.737/0.737, allocations: 102.5 MB / 367.9 MB, free: 1.465 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.243e-06/1.243e-06, allocations: 0 / 0.5367 GB, free: 39.79 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.985e-05, allocations: 4.531 kB / 0.5367 GB, free: 39.79 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.001976/0.001995, allocations: 2.128 MB / 0.5387 GB, free: 38.32 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005945/0.00259, allocations: 425 kB / 0.5391 GB, free: 38.05 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.002645, allocations: 3.125 kB / 0.5391 GB, free: 38.05 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.002754, allocations: 9.125 kB / 0.5392 GB, free: 38.05 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 3.985e-05/0.002794, allocations: 12.78 kB / 0.5392 GB, free: 38.04 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.003263, allocations: 134.9 kB / 0.5393 GB, free: 37.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.003388, allocations: 90.42 kB / 0.5394 GB, free: 37.94 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.003473, allocations: 8.875 kB / 0.5394 GB, free: 37.94 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.003543, allocations: 43.72 kB / 0.5394 GB, free: 37.92 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.003609, allocations: 35.48 kB / 0.5395 GB, free: 37.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.003627, allocations: 7.562 kB / 0.5395 GB, free: 37.91 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.003777, allocations: 82.53 kB / 0.5396 GB, free: 37.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.003836, allocations: 27.09 kB / 0.5396 GB, free: 37.87 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.003866, allocations: 17.92 kB / 0.5396 GB, free: 37.86 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.004043, allocations: 151.6 kB / 0.5397 GB, free: 37.81 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.004045, allocations: 2.469 kB / 0.5397 GB, free: 37.81 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004046, allocations: 3.938 kB / 0.5397 GB, free: 37.8 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.00405, allocations: 0 / 0.5397 GB, free: 37.8 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.0004402/0.00449, allocations: 349.8 kB / 0.5401 GB, free: 37.5 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.004526, allocations: 8.594 kB / 0.5401 GB, free: 37.5 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.004566, allocations: 10.02 kB / 0.5401 GB, free: 37.5 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.004687, allocations: 137.8 kB / 0.5402 GB, free: 37.35 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.004734, allocations: 33.81 kB / 0.5403 GB, free: 37.32 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.004762, allocations: 9.625 kB / 0.5403 GB, free: 37.32 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.00496, allocations: 107.4 kB / 0.5404 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.004967, allocations: 0.8438 kB / 0.5404 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.004979, allocations: 384 / 0.5404 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.004984, allocations: 6.656 kB / 0.5404 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.005184, allocations: 102 kB / 0.5405 GB, free: 37.25 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.005518, allocations: 285.7 kB / 0.5407 GB, free: 37.02 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.005677, allocations: 98.98 kB / 0.5408 GB, free: 36.98 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.005787, allocations: 67.92 kB / 0.5409 GB, free: 36.95 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.00581, allocations: 6.5 kB / 0.5409 GB, free: 36.95 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.005825, allocations: 35.84 kB / 0.5409 GB, free: 36.91 MB / 490.8 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.005826, allocations: 0 / 0.5409 GB, free: 36.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004074/0.006233, allocations: 226.8 kB / 0.5412 GB, free: 36.83 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.006257, allocations: 53.84 kB / 0.5412 GB, free: 36.77 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.006323, allocations: 122.3 kB / 0.5413 GB, free: 36.66 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.006333, allocations: 29.7 kB / 0.5414 GB, free: 36.62 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.006367, allocations: 103 kB / 0.5415 GB, free: 36.53 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.006392, allocations: 34.06 kB / 0.5415 GB, free: 36.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.006427, allocations: 24.66 kB / 0.5415 GB, free: 36.48 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.251e-05/0.006459, allocations: 317.8 kB / 0.5418 GB, free: 36.17 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.006565, allocations: 61.23 kB / 0.5419 GB, free: 36.16 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.006668, allocations: 62.81 kB / 0.5419 GB, free: 36.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.006877, allocations: 121.8 kB / 0.5421 GB, free: 36.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006879, allocations: 2.75 kB / 0.5421 GB, free: 36.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002388/0.007118, allocations: 178.1 kB / 0.5422 GB, free: 36.04 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.007131, allocations: 5.406 kB / 0.5422 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007136, allocations: 1.25 kB / 0.5422 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.007149, allocations: 1.406 kB / 0.5422 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.007381, allocations: 69.97 kB / 0.5423 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.007386, allocations: 1.062 kB / 0.5423 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.227e-05/0.007438, allocations: 18.12 kB / 0.5423 GB, free: 36.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.007447, allocations: 3.125 kB / 0.5423 GB, free: 36.04 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.618e-05/0.007493, allocations: 114.3 kB / 0.5424 GB, free: 35.92 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.00751, allocations: 14.62 kB / 0.5424 GB, free: 35.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.007546, allocations: 22.27 kB / 0.5425 GB, free: 35.89 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007548, allocations: 1.281 kB / 0.5425 GB, free: 35.89 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.007552, allocations: 2.156 kB / 0.5425 GB, free: 35.89 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007556, allocations: 5.625 kB / 0.5425 GB, free: 35.89 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.458e-05/0.00765, allocations: 130.4 kB / 0.5426 GB, free: 35.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.007651, allocations: 1.188 kB / 0.5426 GB, free: 35.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.007872, allocations: 66.64 kB / 0.5427 GB, free: 35.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.007874, allocations: 7.875 kB / 0.5427 GB, free: 35.74 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.007883, allocations: 5.469 kB / 0.5427 GB, free: 35.74 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.007885, allocations: 1.281 kB / 0.5427 GB, free: 35.74 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007886, allocations: 3.938 kB / 0.5427 GB, free: 35.73 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.008274, allocations: 335.9 kB / 0.543 GB, free: 35.55 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.008285, allocations: 10.36 kB / 0.543 GB, free: 35.54 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.008301, allocations: 4.641 kB / 0.543 GB, free: 35.54 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.008366, allocations: 11.84 kB / 0.543 GB, free: 35.54 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.008403, allocations: 11.53 kB / 0.543 GB, free: 35.54 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.008409, allocations: 5.188 kB / 0.543 GB, free: 35.54 MB / 490.8 MB Notification: Performance of sorting global known variables: time 2.91e-05/0.008438, allocations: 97.52 kB / 0.5431 GB, free: 35.46 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.008438, allocations: 0.5 kB / 0.5431 GB, free: 35.46 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002055/0.008644, allocations: 35.5 kB / 0.5432 GB, free: 35.45 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.0001247/0.008769, allocations: 124 kB / 0.5433 GB, free: 35.36 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.009031, allocations: 134 kB / 0.5434 GB, free: 35.33 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.009032, allocations: 0 / 0.5434 GB, free: 35.33 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.009145, allocations: 70.61 kB / 0.5435 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.0001921/0.009337, allocations: 6.625 kB / 0.5435 GB, free: 35.32 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.009674, allocations: 211.2 kB / 0.5437 GB, free: 35.16 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.959e-05/0.009724, allocations: 86.33 kB / 0.5438 GB, free: 35.08 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 4.144e-05/0.009765, allocations: 12.45 kB / 0.5438 GB, free: 35.08 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.009794, allocations: 18.73 kB / 0.5438 GB, free: 35.07 MB / 490.8 MB Notification: Performance of SimCode: time 6.51e-07/0.009795, allocations: 0 / 0.5438 GB, free: 35.07 MB / 490.8 MB Notification: Performance of Templates: time 0.003337/0.01313, allocations: 1.45 MB / 0.5452 GB, free: 34.92 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.709896806627512]