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.008182/0.008182, allocations: 1.788 MB / 21.65 MB, free: 2.816 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.0008747/0.0008747, allocations: 84 kB / 25.48 MB, free: 6.387 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.0009606/0.0009606, allocations: 160.6 kB / 28.89 MB, free: 3.363 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.8809/0.8809, allocations: 177.2 MB / 209.3 MB, free: 2.199 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7126/0.7126, allocations: 102.5 MB / 368.3 MB, free: 0.7891 MB / 330.8 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 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_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: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 415.1 MB, free: 2.25 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/1.99e-05, allocations: 5.125 kB / 415.1 MB, free: 2.246 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.002057/0.002076, allocations: 2.182 MB / 417.3 MB, free: 48 kB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005878/0.002664, allocations: 430.3 kB / 417.7 MB, free: 15.62 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.002714, allocations: 0 / 417.7 MB, free: 15.62 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 9.314e-05/0.002807, allocations: 11.88 kB / 417.7 MB, free: 15.61 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.002847, allocations: 15.86 kB / 417.7 MB, free: 15.6 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.00325, allocations: 147.5 kB / 417.8 MB, free: 15.45 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.003354, allocations: 79.77 kB / 417.9 MB, free: 15.38 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.003422, allocations: 11.98 kB / 417.9 MB, free: 15.36 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.003486, allocations: 39.91 kB / 418 MB, free: 15.32 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.003547, allocations: 39.88 kB / 418 MB, free: 15.29 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.003562, allocations: 8 kB / 418 MB, free: 15.28 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.003701, allocations: 79.86 kB / 418.1 MB, free: 15.2 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.003751, allocations: 31.91 kB / 418.1 MB, free: 15.17 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.003776, allocations: 31.86 kB / 418.2 MB, free: 15.14 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.003926, allocations: 123.6 kB / 418.3 MB, free: 15.02 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.003927, allocations: 0 / 418.3 MB, free: 15.02 MB / 394.8 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003928, allocations: 0 / 418.3 MB, free: 15.02 MB / 394.8 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.003931, allocations: 0 / 418.3 MB, free: 15.02 MB / 394.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.0003547/0.004285, allocations: 308.5 kB / 418.6 MB, free: 14.69 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.004313, allocations: 11.97 kB / 418.6 MB, free: 14.68 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.00434, allocations: 12.92 kB / 418.6 MB, free: 14.66 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.004451, allocations: 129.6 kB / 418.7 MB, free: 14.51 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.004492, allocations: 38.27 kB / 418.8 MB, free: 14.47 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.004508, allocations: 4.375 kB / 418.8 MB, free: 14.46 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.004638, allocations: 93.67 kB / 418.9 MB, free: 14.36 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-06/0.004643, allocations: 192 / 418.9 MB, free: 14.36 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.00465, allocations: 384 / 418.9 MB, free: 14.36 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.004654, allocations: 4.125 kB / 418.9 MB, free: 14.36 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.004708, allocations: 31.84 kB / 418.9 MB, free: 14.33 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.005174, allocations: 201.9 kB / 419.1 MB, free: 14.11 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.26e-05/0.005247, allocations: 93.28 kB / 419.2 MB, free: 14.01 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.005274, allocations: 20.84 kB / 419.2 MB, free: 13.99 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.00529, allocations: 4 kB / 419.2 MB, free: 13.98 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.005305, allocations: 34.5 kB / 419.2 MB, free: 13.94 MB / 394.8 MB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.005306, allocations: 0 / 419.2 MB, free: 13.94 MB / 394.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001366/0.005443, allocations: 73.61 kB / 419.3 MB, free: 13.86 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.005467, allocations: 51.41 kB / 419.4 MB, free: 13.8 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.005524, allocations: 137.7 kB / 419.5 MB, free: 13.66 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.005534, allocations: 25.7 kB / 419.5 MB, free: 13.62 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.005562, allocations: 92.11 kB / 419.6 MB, free: 13.53 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.005585, allocations: 35.73 kB / 419.7 MB, free: 13.5 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.005619, allocations: 25.7 kB / 419.7 MB, free: 13.46 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.005685, allocations: 322.8 kB / 420 MB, free: 13.14 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.005708, allocations: 14.77 kB / 420 MB, free: 13.12 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.829e-05/0.005726, allocations: 8 kB / 420 MB, free: 13.12 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.308e-05/0.005779, allocations: 50.7 kB / 420.1 MB, free: 13.06 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005781, allocations: 3.938 kB / 420.1 MB, free: 13.06 MB / 394.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.242e-05/0.005854, allocations: 65.61 kB / 420.1 MB, free: 12.99 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.005866, allocations: 14.44 kB / 420.2 MB, free: 12.98 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.005869, allocations: 0 / 420.2 MB, free: 12.98 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.005878, allocations: 0 / 420.2 MB, free: 12.98 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.006048, allocations: 55.95 kB / 420.2 MB, free: 12.92 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.00605, allocations: 0 / 420.2 MB, free: 12.92 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.006081, allocations: 11.94 kB / 420.2 MB, free: 12.91 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.006087, allocations: 4 kB / 420.2 MB, free: 12.91 MB / 394.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 5.199e-05/0.006139, allocations: 116.6 kB / 420.3 MB, free: 12.78 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.006157, allocations: 7.938 kB / 420.3 MB, free: 12.77 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.00619, allocations: 16.42 kB / 420.4 MB, free: 12.76 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.006191, allocations: 4 kB / 420.4 MB, free: 12.75 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.006193, allocations: 0 / 420.4 MB, free: 12.75 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.006196, allocations: 3.984 kB / 420.4 MB, free: 12.75 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.121e-05/0.006287, allocations: 85.88 kB / 420.4 MB, free: 12.65 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006288, allocations: 0 / 420.4 MB, free: 12.65 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.006452, allocations: 47.95 kB / 420.5 MB, free: 12.6 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006453, allocations: 0 / 420.5 MB, free: 12.6 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.006462, allocations: 4 kB / 420.5 MB, free: 12.6 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.006465, allocations: 7.938 kB / 420.5 MB, free: 12.59 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006465, allocations: 0 / 420.5 MB, free: 12.59 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.006616, allocations: 222.2 kB / 420.7 MB, free: 12.36 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.006627, allocations: 19.88 kB / 420.7 MB, free: 12.34 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.006638, allocations: 0 / 420.7 MB, free: 12.34 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.455e-05/0.006683, allocations: 11.94 kB / 420.8 MB, free: 12.32 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.00671, allocations: 7.984 kB / 420.8 MB, free: 12.32 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.006714, allocations: 4 kB / 420.8 MB, free: 12.31 MB / 394.8 MB Notification: Performance of sorting global known variables: time 1.634e-05/0.006731, allocations: 20.83 kB / 420.8 MB, free: 12.29 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006731, allocations: 0 / 420.8 MB, free: 12.29 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001558/0.006887, allocations: 43.88 kB / 420.8 MB, free: 12.25 MB / 394.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.0001109/0.006997, allocations: 100.4 kB / 420.9 MB, free: 12.14 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 8.345e-05/0.007081, allocations: 48.77 kB / 421 MB, free: 12.09 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.007083, allocations: 3.938 kB / 421 MB, free: 12.09 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.007113, allocations: 25.23 kB / 421 MB, free: 12.06 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.007235, allocations: 12.16 kB / 421 MB, free: 12.05 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.007508, allocations: 222 kB / 421.2 MB, free: 11.8 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.007541, allocations: 68.97 kB / 421.3 MB, free: 11.71 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.007572, allocations: 4 kB / 421.3 MB, free: 11.71 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.007626, allocations: 59.36 kB / 421.4 MB, free: 11.65 MB / 394.8 MB Notification: Performance of SimCode: time 4.41e-07/0.007626, allocations: 4 kB / 421.4 MB, free: 11.64 MB / 394.8 MB Notification: Performance of Templates: time 0.002763/0.01039, allocations: 1.477 MB / 422.8 MB, free: 10.18 MB / 394.8 MB " [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=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_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.210092249326408]