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.01646/0.01646, allocations: 1.348 MB / 20.45 MB, free: 1.262 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.001884/0.001884, allocations: 77.28 kB / 24.02 MB, free: 2.605 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.002445/0.002445, allocations: 156 kB / 27.71 MB, free: 3.859 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.488/1.488, allocations: 177.2 MB / 208.4 MB, free: 7.672 MB / 190.1 MB " [Timeout remaining time 178] 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 1.05/1.05, allocations: 102.5 MB / 367.7 MB, free: 4.582 MB / 334.1 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.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_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 2.274e-06/2.274e-06, allocations: 0 / 0.5364 GB, free: 7.121 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.536e-05, allocations: 6.219 kB / 0.5364 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003378/0.003413, allocations: 2.12 MB / 0.5385 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008623/0.004276, allocations: 413.7 kB / 0.5389 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.00434, allocations: 3.938 kB / 0.5389 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.00446, allocations: 5.375 kB / 0.5389 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.004511, allocations: 17.08 kB / 0.5389 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.005097, allocations: 155.8 kB / 0.5391 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.00524, allocations: 80.92 kB / 0.5392 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.005361, allocations: 11.61 kB / 0.5392 GB, free: 5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.005447, allocations: 44.66 kB / 0.5392 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.005522, allocations: 34.38 kB / 0.5392 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.005546, allocations: 7.781 kB / 0.5393 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.00574, allocations: 77.42 kB / 0.5393 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.00581, allocations: 20.77 kB / 0.5393 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.005854, allocations: 28.22 kB / 0.5394 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.006104, allocations: 152.8 kB / 0.5395 GB, free: 4.777 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.006109, allocations: 0 / 0.5395 GB, free: 4.777 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.006111, allocations: 5.188 kB / 0.5395 GB, free: 4.773 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.006124, allocations: 0 / 0.5395 GB, free: 4.773 MB / 446.1 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.0006624/0.006786, allocations: 348.8 kB / 0.5399 GB, free: 4.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.006826, allocations: 9.938 kB / 0.5399 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.006876, allocations: 8.859 kB / 0.5399 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.007047, allocations: 131.6 kB / 0.54 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.007109, allocations: 30.89 kB / 0.54 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.007138, allocations: 9.562 kB / 0.54 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.007461, allocations: 108.7 kB / 0.5401 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.007473, allocations: 192 / 0.5401 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.007488, allocations: 5.469 kB / 0.5401 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.007494, allocations: 5.25 kB / 0.5402 GB, free: 4.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.007861, allocations: 99.58 kB / 0.5402 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.008375, allocations: 297.3 kB / 0.5405 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.008652, allocations: 101.4 kB / 0.5406 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.008853, allocations: 76.58 kB / 0.5407 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.00888, allocations: 5.156 kB / 0.5407 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.008902, allocations: 37.09 kB / 0.5407 GB, free: 3.707 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.008903, allocations: 0 / 0.5407 GB, free: 3.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007274/0.009631, allocations: 210.1 kB / 0.5409 GB, free: 3.598 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.009661, allocations: 56.91 kB / 0.541 GB, free: 3.531 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.009746, allocations: 135.2 kB / 0.5411 GB, free: 3.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.009777, allocations: 25.7 kB / 0.5411 GB, free: 3.379 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.009818, allocations: 96.53 kB / 0.5412 GB, free: 3.285 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.009851, allocations: 30.83 kB / 0.5413 GB, free: 3.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.009897, allocations: 20.62 kB / 0.5413 GB, free: 3.238 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.009954, allocations: 321.9 kB / 0.5416 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.01015, allocations: 61.03 kB / 0.5417 GB, free: 2.891 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.01034, allocations: 60.39 kB / 0.5417 GB, free: 2.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.01072, allocations: 128.8 kB / 0.5418 GB, free: 2.801 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01072, allocations: 0 / 0.5418 GB, free: 2.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004405/0.01116, allocations: 177.6 kB / 0.542 GB, free: 2.699 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.01118, allocations: 5.844 kB / 0.542 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01118, allocations: 0 / 0.542 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.01121, allocations: 1.375 kB / 0.542 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.01168, allocations: 68.83 kB / 0.5421 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.01168, allocations: 1.875 kB / 0.5421 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.01179, allocations: 16.11 kB / 0.5421 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.0118, allocations: 6.609 kB / 0.5421 GB, free: 2.664 MB / 446.1 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 7.732e-05/0.01188, allocations: 121.7 kB / 0.5422 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.01191, allocations: 12.61 kB / 0.5422 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.01196, allocations: 10.25 kB / 0.5422 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01196, allocations: 1.156 kB / 0.5422 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01197, allocations: 112 / 0.5422 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.01197, allocations: 5.062 kB / 0.5422 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.01212, allocations: 135.9 kB / 0.5424 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01212, allocations: 5.156 kB / 0.5424 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.01259, allocations: 67.73 kB / 0.5424 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.0126, allocations: 3.938 kB / 0.5424 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01261, allocations: 5.328 kB / 0.5425 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.01261, allocations: 1.25 kB / 0.5425 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01261, allocations: 0 / 0.5425 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/0.01331, allocations: 335.1 kB / 0.5428 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.01332, allocations: 10.14 kB / 0.5428 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.01334, allocations: 1.781 kB / 0.5428 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.01348, allocations: 20.62 kB / 0.5428 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.01354, allocations: 14.89 kB / 0.5428 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.01354, allocations: 1.094 kB / 0.5428 GB, free: 2.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.775e-05/0.01359, allocations: 101.3 kB / 0.5429 GB, free: 1.988 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01359, allocations: 0 / 0.5429 GB, free: 1.988 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.0139, allocations: 28.69 kB / 0.5429 GB, free: 1.984 MB / 446.1 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.0002137/0.01411, allocations: 129.4 kB / 0.5431 GB, free: 1.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004737/0.01458, allocations: 129.2 kB / 0.5432 GB, free: 1.828 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01459, allocations: 1.781 kB / 0.5432 GB, free: 1.828 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.0148, allocations: 68.94 kB / 0.5433 GB, free: 1.797 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.01514, allocations: 7.125 kB / 0.5433 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.01564, allocations: 211.6 kB / 0.5435 GB, free: 1.617 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.897e-05/0.01571, allocations: 86.41 kB / 0.5435 GB, free: 1.531 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.61e-05/0.01578, allocations: 13.67 kB / 0.5436 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.01582, allocations: 12.59 kB / 0.5436 GB, free: 1.516 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.01582, allocations: 1.156 kB / 0.5436 GB, free: 1.516 MB / 446.1 MB Notification: Performance of Templates: time 0.004487/0.02031, allocations: 1.464 MB / 0.545 GB, free: 160 kB / 446.1 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.921913266181946]