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.008532/0.008532, allocations: 1.777 MB / 22.36 MB, free: 2.113 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.0008233/0.0008233, allocations: 82.48 kB / 26.19 MB, free: 6.238 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.0009933/0.0009933, allocations: 167.7 kB / 30.12 MB, free: 2.34 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.946/0.946, allocations: 177.1 MB / 211.1 MB, free: 3.43 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.6967/0.6967, allocations: 102.4 MB / 370.6 MB, free: 200 kB / 330.7 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 1.0.0 (/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.854e-06/1.854e-06, allocations: 2.875 kB / 471.2 MB, free: 18.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.043e-05, allocations: 3.734 kB / 471.2 MB, free: 18.82 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.002022/0.002042, allocations: 2.187 MB / 473.4 MB, free: 17.36 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005692/0.002612, allocations: 406.9 kB / 473.8 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.002661, allocations: 7.594 kB / 473.8 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.405e-05/0.002755, allocations: 7.031 kB / 473.8 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.002794, allocations: 9.094 kB / 473.8 MB, free: 17.1 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.00318, allocations: 145.8 kB / 474 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.003277, allocations: 88.2 kB / 474.1 MB, free: 17 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.996e-05/0.003357, allocations: 16.27 kB / 474.1 MB, free: 16.99 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.306e-05/0.00342, allocations: 43.25 kB / 474.1 MB, free: 16.97 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.003472, allocations: 32.91 kB / 474.1 MB, free: 16.96 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.003488, allocations: 10.19 kB / 474.2 MB, free: 16.96 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.003616, allocations: 80.75 kB / 474.2 MB, free: 16.94 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.003663, allocations: 17.88 kB / 474.3 MB, free: 16.93 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.003693, allocations: 30.42 kB / 474.3 MB, free: 16.92 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.003834, allocations: 130.3 kB / 474.4 MB, free: 16.87 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003835, allocations: 0 / 474.4 MB, free: 16.87 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003836, allocations: 0 / 474.4 MB, free: 16.87 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.00384, allocations: 0 / 474.4 MB, free: 16.87 MB / 410.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.0003513/0.004191, allocations: 442.2 kB / 474.8 MB, free: 16.45 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.004222, allocations: 10.62 kB / 474.9 MB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.004255, allocations: 17.14 kB / 474.9 MB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.004361, allocations: 138.4 kB / 475 MB, free: 16.3 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.004402, allocations: 33.44 kB / 475 MB, free: 16.27 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.004422, allocations: 10.34 kB / 475 MB, free: 16.26 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.004542, allocations: 82.95 kB / 475.1 MB, free: 16.21 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.004548, allocations: 3.844 kB / 475.1 MB, free: 16.21 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.004558, allocations: 4.281 kB / 475.1 MB, free: 16.21 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004563, allocations: 4.125 kB / 475.1 MB, free: 16.21 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.522e-05/0.004618, allocations: 27.06 kB / 475.2 MB, free: 16.2 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.004881, allocations: 297.8 kB / 475.5 MB, free: 15.94 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.373e-05/0.004944, allocations: 46.73 kB / 475.5 MB, free: 15.91 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.004971, allocations: 26.44 kB / 475.5 MB, free: 15.89 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.004987, allocations: 1.047 kB / 475.5 MB, free: 15.89 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.005, allocations: 44.86 kB / 475.6 MB, free: 15.84 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.005001, allocations: 1.125 kB / 475.6 MB, free: 15.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001566/0.005158, allocations: 95.61 kB / 475.7 MB, free: 15.79 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.005176, allocations: 54.34 kB / 475.7 MB, free: 15.73 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.833e-05/0.005224, allocations: 185 kB / 475.9 MB, free: 15.55 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.005231, allocations: 25.7 kB / 475.9 MB, free: 15.52 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.005261, allocations: 144.7 kB / 476.1 MB, free: 15.38 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.005283, allocations: 29.08 kB / 476.1 MB, free: 15.36 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.005316, allocations: 27.84 kB / 476.1 MB, free: 15.33 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003445/0.00566, allocations: 0.4905 MB / 476.6 MB, free: 30.84 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.005683, allocations: 12.3 kB / 476.6 MB, free: 30.84 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.122e-05/0.005704, allocations: 20.53 kB / 476.6 MB, free: 30.83 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.005754, allocations: 39.55 kB / 476.7 MB, free: 30.81 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005756, allocations: 0 / 476.7 MB, free: 30.81 MB / 426.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.706e-05/0.005843, allocations: 85.61 kB / 476.8 MB, free: 30.76 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.005854, allocations: 5.719 kB / 476.8 MB, free: 30.76 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005858, allocations: 0 / 476.8 MB, free: 30.76 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.005865, allocations: 0 / 476.8 MB, free: 30.76 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.006048, allocations: 55.53 kB / 476.8 MB, free: 30.76 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-06/0.00605, allocations: 0 / 476.8 MB, free: 30.76 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.006085, allocations: 16.64 kB / 476.8 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.006091, allocations: 3.375 kB / 476.8 MB, free: 30.75 MB / 426.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 7.437e-05/0.006165, allocations: 163.8 kB / 477 MB, free: 30.58 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.006187, allocations: 15.67 kB / 477 MB, free: 30.57 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.006215, allocations: 11.16 kB / 477 MB, free: 30.57 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.006218, allocations: 1.734 kB / 477 MB, free: 30.57 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.00622, allocations: 2.594 kB / 477 MB, free: 30.57 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006223, allocations: 3.328 kB / 477 MB, free: 30.57 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.326e-05/0.006317, allocations: 114.9 kB / 477.2 MB, free: 30.45 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.006318, allocations: 0 / 477.2 MB, free: 30.45 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.006493, allocations: 50.47 kB / 477.2 MB, free: 30.45 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.006495, allocations: 0.9375 kB / 477.2 MB, free: 30.45 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.006505, allocations: 7.688 kB / 477.2 MB, free: 30.44 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.006506, allocations: 3.938 kB / 477.2 MB, free: 30.44 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006507, allocations: 1.25 kB / 477.2 MB, free: 30.44 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.006694, allocations: 246 kB / 477.5 MB, free: 30.23 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.006703, allocations: 11.77 kB / 477.5 MB, free: 30.22 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.006715, allocations: 0 / 477.5 MB, free: 30.22 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.006763, allocations: 17.62 kB / 477.5 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.006792, allocations: 6.062 kB / 477.5 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.006796, allocations: 2.906 kB / 477.5 MB, free: 30.21 MB / 426.8 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.006836, allocations: 142.6 kB / 477.6 MB, free: 30.09 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006836, allocations: 2.688 kB / 477.6 MB, free: 30.09 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001812/0.007018, allocations: 28.53 kB / 477.7 MB, free: 30.09 MB / 426.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.0001431/0.007161, allocations: 125.5 kB / 477.8 MB, free: 29.99 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 9.235e-05/0.007253, allocations: 51.64 kB / 477.8 MB, free: 29.97 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007254, allocations: 1.438 kB / 477.8 MB, free: 29.97 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.007287, allocations: 30.78 kB / 477.9 MB, free: 29.95 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.007459, allocations: 8.594 kB / 477.9 MB, free: 29.95 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.007734, allocations: 207.5 kB / 478.1 MB, free: 29.79 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.815e-05/0.007762, allocations: 62.98 kB / 478.1 MB, free: 29.71 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.007795, allocations: 10.28 kB / 478.2 MB, free: 29.71 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.007854, allocations: 80.17 kB / 478.2 MB, free: 29.65 MB / 426.8 MB Notification: Performance of SimCode: time 5.21e-07/0.007854, allocations: 0.8438 kB / 478.2 MB, free: 29.65 MB / 426.8 MB Notification: Performance of Templates: time 0.003362/0.01122, allocations: 1.656 MB / 479.9 MB, free: 29.5 MB / 426.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=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 240] 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","",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.661366570275277]