Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01522/0.01522, allocations: 1.345 MB / 21.03 MB, free: 0.7617 MB / 14.72 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.001649/0.001649, allocations: 78.83 kB / 24.58 MB, free: 2.137 MB / 14.72 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.002163/0.002163, allocations: 168.7 kB / 28.26 MB, free: 3.398 MB / 19.63 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 1.436/1.436, allocations: 177.2 MB / 209 MB, free: 7.539 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.089/1.089, allocations: 102.5 MB / 368.4 MB, free: 4.172 MB / 334.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.3.1 (/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_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_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06901/0.06901, allocations: 20.95 MB / 0.5569 GB, free: 4.969 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.2304, allocations: 81.88 MB / 0.6369 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003725/0.2341, allocations: 2.12 MB / 0.6389 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009324/0.235, allocations: 418.5 kB / 0.6393 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.2351, allocations: 0 / 0.6393 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2352, allocations: 7.875 kB / 0.6393 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.2353, allocations: 19.86 kB / 0.6394 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.2359, allocations: 135.7 kB / 0.6395 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.2361, allocations: 87.7 kB / 0.6396 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.827e-05/0.2362, allocations: 7.984 kB / 0.6396 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.188e-05/0.2362, allocations: 35.84 kB / 0.6396 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.25e-05/0.2363, allocations: 39.83 kB / 0.6397 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.2364, allocations: 8 kB / 0.6397 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.2366, allocations: 79.92 kB / 0.6397 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.2367, allocations: 27.84 kB / 0.6398 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.182e-05/0.2367, allocations: 27.86 kB / 0.6398 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.237, allocations: 127.6 kB / 0.6399 GB, free: 15.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.237, allocations: 4 kB / 0.6399 GB, free: 15.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.237, allocations: 3.938 kB / 0.6399 GB, free: 15.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.237, allocations: 0 / 0.6399 GB, free: 15.8 MB / 0.545 GB 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.0007367/0.2377, allocations: 349.8 kB / 0.6403 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2377, allocations: 8.031 kB / 0.6403 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.2378, allocations: 8.891 kB / 0.6403 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.238, allocations: 138.3 kB / 0.6404 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.3e-05/0.2381, allocations: 38.27 kB / 0.6404 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.2381, allocations: 8.359 kB / 0.6405 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.2384, allocations: 106.2 kB / 0.6406 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2385, allocations: 3.938 kB / 0.6406 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2385, allocations: 4 kB / 0.6406 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.2385, allocations: 0 / 0.6406 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.2389, allocations: 103.9 kB / 0.6407 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.2395, allocations: 280.3 kB / 0.6409 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.2398, allocations: 106.6 kB / 0.641 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.24, allocations: 72.89 kB / 0.6411 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.24, allocations: 4 kB / 0.6411 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.2401, allocations: 38.48 kB / 0.6411 GB, free: 14.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2401, allocations: 0 / 0.6411 GB, free: 14.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.000769/0.2408, allocations: 217.5 kB / 0.6413 GB, free: 14.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.2409, allocations: 55.41 kB / 0.6414 GB, free: 14.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.241, allocations: 125.8 kB / 0.6415 GB, free: 14.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.241, allocations: 29.7 kB / 0.6415 GB, free: 13.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.2411, allocations: 104 kB / 0.6416 GB, free: 13.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.2411, allocations: 23.8 kB / 0.6417 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.2412, allocations: 25.72 kB / 0.6417 GB, free: 13.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2413, allocations: 330.7 kB / 0.642 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.2415, allocations: 51.95 kB / 0.6421 GB, free: 13.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.2417, allocations: 67.88 kB / 0.6421 GB, free: 13.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.2421, allocations: 124.8 kB / 0.6422 GB, free: 13.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2421, allocations: 0 / 0.6422 GB, free: 13.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000491/0.2426, allocations: 177.5 kB / 0.6424 GB, free: 13.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2427, allocations: 8 kB / 0.6424 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2427, allocations: 0 / 0.6424 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2427, allocations: 0 / 0.6424 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/0.2431, allocations: 67.92 kB / 0.6425 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2431, allocations: 4 kB / 0.6425 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.2433, allocations: 19.92 kB / 0.6425 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.2433, allocations: 4 kB / 0.6425 GB, free: 12.97 MB / 0.545 GB 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 0.0001189/0.2434, allocations: 125.7 kB / 0.6426 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.2434, allocations: 11.95 kB / 0.6426 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.2435, allocations: 8.438 kB / 0.6426 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2435, allocations: 0 / 0.6426 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2435, allocations: 0 / 0.6426 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2435, allocations: 8 kB / 0.6427 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.2437, allocations: 133.2 kB / 0.6428 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2437, allocations: 4 kB / 0.6428 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/0.2442, allocations: 60.2 kB / 0.6428 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.2442, allocations: 4 kB / 0.6428 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2442, allocations: 0 / 0.6428 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2442, allocations: 3.938 kB / 0.6429 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2442, allocations: 7.938 kB / 0.6429 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007924/0.245, allocations: 343.2 kB / 0.6432 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.245, allocations: 7.984 kB / 0.6432 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.245, allocations: 0 / 0.6432 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.2452, allocations: 16.05 kB / 0.6432 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.2452, allocations: 11.98 kB / 0.6432 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2452, allocations: 0 / 0.6432 GB, free: 12.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.2453, allocations: 110 kB / 0.6433 GB, free: 12.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2453, allocations: 0 / 0.6433 GB, free: 12.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002909/0.2456, allocations: 28 kB / 0.6434 GB, free: 12.05 MB / 0.545 GB 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.0002133/0.2458, allocations: 119.2 kB / 0.6435 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000496/0.2463, allocations: 135.8 kB / 0.6436 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2463, allocations: 0 / 0.6436 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.2465, allocations: 67.94 kB / 0.6437 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.2469, allocations: 7.938 kB / 0.6437 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.2474, allocations: 223.2 kB / 0.6439 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.343e-05/0.2475, allocations: 83.83 kB / 0.644 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.064e-05/0.2476, allocations: 15.97 kB / 0.644 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.2476, allocations: 16.5 kB / 0.644 GB, free: 11.34 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2476, allocations: 0 / 0.644 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Templates: time 0.005225/0.2528, allocations: 1.452 MB / 0.6454 GB, free: 9.906 MB / 0.545 GB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & ./ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_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.845733049092814]