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.007731/0.007731, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0008853/0.0008853, allocations: 91.06 kB / 24.91 MB, free: 7.266 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.0007257/0.0007257, allocations: 168 kB / 28.62 MB, free: 4.445 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.8569/0.8569, allocations: 177.1 MB / 209.4 MB, free: 2.973 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.7195/0.7195, allocations: 102.5 MB / 368.7 MB, free: 1.5 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 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_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 2.755e-06/2.755e-06, allocations: 0 / 0.5374 GB, free: 39.82 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.641e-05, allocations: 4 kB / 0.5374 GB, free: 39.82 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.002263/0.002289, allocations: 2.117 MB / 0.5395 GB, free: 38.36 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006951/0.002984, allocations: 418.6 kB / 0.5399 GB, free: 38.1 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.003049, allocations: 0 / 0.5399 GB, free: 38.1 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.003165, allocations: 13.34 kB / 0.5399 GB, free: 38.09 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.003208, allocations: 14.12 kB / 0.5399 GB, free: 38.08 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.00374, allocations: 136 kB / 0.54 GB, free: 38.02 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.003878, allocations: 84.95 kB / 0.5401 GB, free: 37.98 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.004003, allocations: 14.12 kB / 0.5401 GB, free: 37.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.004085, allocations: 50.62 kB / 0.5402 GB, free: 37.95 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.232e-05/0.004158, allocations: 28.12 kB / 0.5402 GB, free: 37.95 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.004178, allocations: 6.688 kB / 0.5402 GB, free: 37.95 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.004348, allocations: 77.2 kB / 0.5403 GB, free: 37.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.004421, allocations: 27.3 kB / 0.5403 GB, free: 37.92 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.004458, allocations: 26.55 kB / 0.5403 GB, free: 37.9 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.004662, allocations: 147 kB / 0.5405 GB, free: 37.85 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004665, allocations: 0 / 0.5405 GB, free: 37.85 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.81e-07/0.004666, allocations: 0 / 0.5405 GB, free: 37.85 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.004671, allocations: 0 / 0.5405 GB, free: 37.85 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.0005237/0.005195, allocations: 355.7 kB / 0.5408 GB, free: 37.54 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.005233, allocations: 9.75 kB / 0.5408 GB, free: 37.54 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.005275, allocations: 14.83 kB / 0.5408 GB, free: 37.54 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.005412, allocations: 138.7 kB / 0.541 GB, free: 37.39 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.005466, allocations: 35.48 kB / 0.541 GB, free: 37.36 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.005493, allocations: 7.875 kB / 0.541 GB, free: 37.36 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.0057, allocations: 112.7 kB / 0.5411 GB, free: 37.3 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.005709, allocations: 192 / 0.5411 GB, free: 37.3 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.005721, allocations: 384 / 0.5411 GB, free: 37.3 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005728, allocations: 6.719 kB / 0.5411 GB, free: 37.3 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.005941, allocations: 107.6 kB / 0.5412 GB, free: 37.28 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.006332, allocations: 285.2 kB / 0.5415 GB, free: 37.05 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.006509, allocations: 103 kB / 0.5416 GB, free: 37 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.006619, allocations: 69.16 kB / 0.5417 GB, free: 36.98 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.006643, allocations: 5.625 kB / 0.5417 GB, free: 36.98 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.00666, allocations: 34.47 kB / 0.5417 GB, free: 36.94 MB / 490.8 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.006661, allocations: 0 / 0.5417 GB, free: 36.94 MB / 490.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004365/0.007098, allocations: 220 kB / 0.5419 GB, free: 36.86 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.007122, allocations: 52.88 kB / 0.542 GB, free: 36.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/0.007189, allocations: 129.2 kB / 0.5421 GB, free: 36.69 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.007199, allocations: 26.55 kB / 0.5421 GB, free: 36.66 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.007236, allocations: 98.89 kB / 0.5422 GB, free: 36.57 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.007265, allocations: 30.81 kB / 0.5422 GB, free: 36.54 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.007302, allocations: 28.69 kB / 0.5423 GB, free: 36.52 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.496e-05/0.007347, allocations: 322.2 kB / 0.5426 GB, free: 36.2 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.007457, allocations: 58.64 kB / 0.5426 GB, free: 36.19 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.007562, allocations: 62.69 kB / 0.5427 GB, free: 36.18 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.007781, allocations: 126.2 kB / 0.5428 GB, free: 36.14 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.007784, allocations: 2.531 kB / 0.5428 GB, free: 36.14 MB / 490.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000255/0.008039, allocations: 180.3 kB / 0.543 GB, free: 36.07 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.008054, allocations: 5.156 kB / 0.543 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.008058, allocations: 4.656 kB / 0.543 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.008072, allocations: 0 / 0.543 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.008311, allocations: 65.58 kB / 0.5431 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.008317, allocations: 1.375 kB / 0.5431 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.008365, allocations: 12.14 kB / 0.5431 GB, free: 36.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.008373, allocations: 6.375 kB / 0.5431 GB, free: 36.07 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 5.257e-05/0.008425, allocations: 123.2 kB / 0.5432 GB, free: 35.94 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.008442, allocations: 11.36 kB / 0.5432 GB, free: 35.93 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.008485, allocations: 10.78 kB / 0.5432 GB, free: 35.93 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.008488, allocations: 2.188 kB / 0.5432 GB, free: 35.93 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.008494, allocations: 3.234 kB / 0.5432 GB, free: 35.93 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.008497, allocations: 2.625 kB / 0.5432 GB, free: 35.93 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.008599, allocations: 138.7 kB / 0.5434 GB, free: 35.78 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.0086, allocations: 0 / 0.5434 GB, free: 35.78 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.008821, allocations: 65.36 kB / 0.5434 GB, free: 35.78 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.008823, allocations: 5.156 kB / 0.5434 GB, free: 35.78 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.008834, allocations: 2.5 kB / 0.5434 GB, free: 35.78 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.008837, allocations: 1.062 kB / 0.5434 GB, free: 35.78 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.008838, allocations: 4 kB / 0.5434 GB, free: 35.77 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.009239, allocations: 332.9 kB / 0.5437 GB, free: 35.59 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.009252, allocations: 11.11 kB / 0.5438 GB, free: 35.59 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.009266, allocations: 1.562 kB / 0.5438 GB, free: 35.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.009329, allocations: 20.91 kB / 0.5438 GB, free: 35.58 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.00937, allocations: 5.281 kB / 0.5438 GB, free: 35.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.009376, allocations: 1.531 kB / 0.5438 GB, free: 35.58 MB / 490.8 MB Notification: Performance of sorting global known variables: time 3.418e-05/0.00941, allocations: 102.9 kB / 0.5439 GB, free: 35.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.00941, allocations: 0.6875 kB / 0.5439 GB, free: 35.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001958/0.009606, allocations: 33.94 kB / 0.5439 GB, free: 35.49 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.0001427/0.009749, allocations: 123.9 kB / 0.544 GB, free: 35.4 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.01002, allocations: 133.5 kB / 0.5442 GB, free: 35.37 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01003, allocations: 3.625 kB / 0.5442 GB, free: 35.37 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.01014, allocations: 64.78 kB / 0.5442 GB, free: 35.36 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.01033, allocations: 12.12 kB / 0.5442 GB, free: 35.35 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.01072, allocations: 241.5 kB / 0.5445 GB, free: 35.16 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.298e-05/0.01079, allocations: 84.72 kB / 0.5446 GB, free: 35.08 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.01083, allocations: 20.83 kB / 0.5446 GB, free: 35.07 MB / 490.8 MB Notification: Performance of SimCode: time 4.2e-07/0.01083, allocations: 1 kB / 0.5446 GB, free: 35.07 MB / 490.8 MB Notification: Performance of Templates: time 0.003189/0.01402, allocations: 1.616 MB / 0.5461 GB, free: 34.95 MB / 490.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=800 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","/var/lib/jenkins/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.37995642516762]