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.01828/0.01828, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.01265/0.01265, allocations: 80 kB / 24.44 MB, free: 7.531 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.002188/0.002188, allocations: 163 kB / 28.2 MB, free: 4.668 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 1.475/1.475, allocations: 177.2 MB / 209 MB, free: 2.797 MB / 186.7 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.093/1.093, allocations: 102.5 MB / 368.3 MB, free: 1.27 MB / 330.8 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.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_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.225e-06/2.225e-06, allocations: 0 / 468.3 MB, free: 13.48 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.102e-05/4.324e-05, allocations: 6.25 kB / 468.3 MB, free: 13.47 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.004464/0.004508, allocations: 2.113 MB / 470.4 MB, free: 11.35 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.005613, allocations: 414.5 kB / 470.8 MB, free: 10.94 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.005684, allocations: 0 / 470.8 MB, free: 10.94 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.005816, allocations: 15.88 kB / 470.8 MB, free: 10.93 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.00588, allocations: 7.875 kB / 470.8 MB, free: 10.92 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.006593, allocations: 143.5 kB / 471 MB, free: 10.78 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.006798, allocations: 91.69 kB / 471.1 MB, free: 10.69 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.006901, allocations: 8 kB / 471.1 MB, free: 10.68 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.007035, allocations: 47.83 kB / 471.1 MB, free: 10.63 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.249e-05/0.007128, allocations: 35.89 kB / 471.2 MB, free: 10.6 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.007156, allocations: 8 kB / 471.2 MB, free: 10.59 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.007396, allocations: 79.86 kB / 471.2 MB, free: 10.51 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.231e-05/0.007488, allocations: 31.91 kB / 471.3 MB, free: 10.48 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.007547, allocations: 23.97 kB / 471.3 MB, free: 10.46 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.007873, allocations: 143.6 kB / 471.4 MB, free: 10.32 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.007876, allocations: 0 / 471.4 MB, free: 10.32 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.493e-06/0.007878, allocations: 0 / 471.4 MB, free: 10.32 MB / 442.8 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.007885, allocations: 0 / 471.4 MB, free: 10.32 MB / 442.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.000884/0.008769, allocations: 357.7 kB / 471.8 MB, free: 9.934 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.008814, allocations: 8.031 kB / 471.8 MB, free: 9.926 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/0.008898, allocations: 20.89 kB / 471.8 MB, free: 9.906 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.009136, allocations: 133.6 kB / 471.9 MB, free: 9.75 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/0.009218, allocations: 38.27 kB / 472 MB, free: 9.707 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.009253, allocations: 4.375 kB / 472 MB, free: 9.703 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.00963, allocations: 110.2 kB / 472.1 MB, free: 9.59 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.00964, allocations: 192 / 472.1 MB, free: 9.59 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.009654, allocations: 384 / 472.1 MB, free: 9.59 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.009666, allocations: 4.125 kB / 472.1 MB, free: 9.586 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.01007, allocations: 107.9 kB / 472.2 MB, free: 9.48 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006985/0.01077, allocations: 284.4 kB / 472.5 MB, free: 9.172 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.01109, allocations: 102.5 kB / 472.6 MB, free: 9.062 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.01131, allocations: 68.91 kB / 472.6 MB, free: 8.992 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.01135, allocations: 8.047 kB / 472.7 MB, free: 8.984 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.01139, allocations: 34.5 kB / 472.7 MB, free: 8.941 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.01139, allocations: 0 / 472.7 MB, free: 8.941 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0008242/0.01221, allocations: 225.4 kB / 472.9 MB, free: 8.715 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.01226, allocations: 51.41 kB / 473 MB, free: 8.652 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.01241, allocations: 127.5 kB / 473.1 MB, free: 8.52 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.01244, allocations: 29.7 kB / 473.1 MB, free: 8.484 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.01252, allocations: 96.03 kB / 473.2 MB, free: 8.387 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.01257, allocations: 31.73 kB / 473.2 MB, free: 8.355 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.01264, allocations: 25.72 kB / 473.3 MB, free: 8.324 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.01283, allocations: 318.8 kB / 473.6 MB, free: 8.004 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.01305, allocations: 63.94 kB / 473.6 MB, free: 7.941 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.01327, allocations: 59.89 kB / 473.7 MB, free: 7.883 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.01368, allocations: 136.7 kB / 473.8 MB, free: 7.746 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01368, allocations: 0 / 473.8 MB, free: 7.746 MB / 442.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005083/0.01419, allocations: 177.4 kB / 474 MB, free: 7.566 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.01422, allocations: 8 kB / 474 MB, free: 7.559 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.01423, allocations: 0 / 474 MB, free: 7.559 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.01425, allocations: 0 / 474 MB, free: 7.559 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.01472, allocations: 71.92 kB / 474.1 MB, free: 7.488 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.01473, allocations: 0 / 474.1 MB, free: 7.488 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.01485, allocations: 15.98 kB / 474.1 MB, free: 7.473 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.01486, allocations: 0 / 474.1 MB, free: 7.473 MB / 442.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 0.0001223/0.01498, allocations: 117.8 kB / 474.2 MB, free: 7.348 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.01503, allocations: 19.89 kB / 474.2 MB, free: 7.328 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.01509, allocations: 12.38 kB / 474.2 MB, free: 7.312 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01509, allocations: 4 kB / 474.2 MB, free: 7.309 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.0151, allocations: 4 kB / 474.3 MB, free: 7.305 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.0151, allocations: 0 / 474.3 MB, free: 7.305 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.01533, allocations: 133.2 kB / 474.4 MB, free: 7.145 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01533, allocations: 0 / 474.4 MB, free: 7.145 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.01582, allocations: 63.92 kB / 474.4 MB, free: 7.082 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.01583, allocations: 3.938 kB / 474.4 MB, free: 7.078 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.01584, allocations: 8 kB / 474.5 MB, free: 7.07 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.01585, allocations: 3.984 kB / 474.5 MB, free: 7.066 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01585, allocations: 0 / 474.5 MB, free: 7.066 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/0.0167, allocations: 335.3 kB / 474.8 MB, free: 6.723 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.01673, allocations: 15.83 kB / 474.8 MB, free: 6.707 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.01676, allocations: 12.09 kB / 474.8 MB, free: 6.695 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.0169, allocations: 11.98 kB / 474.8 MB, free: 6.684 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.01695, allocations: 3.984 kB / 474.8 MB, free: 6.68 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01696, allocations: 7.984 kB / 474.8 MB, free: 6.672 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001002/0.01706, allocations: 104.2 kB / 474.9 MB, free: 6.57 MB / 442.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01706, allocations: 0 / 474.9 MB, free: 6.57 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0003081/0.01737, allocations: 28 kB / 475 MB, free: 6.543 MB / 442.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.0002669/0.01764, allocations: 123.2 kB / 475.1 MB, free: 6.414 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.000509/0.01815, allocations: 131.8 kB / 475.2 MB, free: 6.285 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01815, allocations: 0 / 475.2 MB, free: 6.285 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.01839, allocations: 67.94 kB / 475.3 MB, free: 6.219 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.01874, allocations: 8 kB / 475.3 MB, free: 6.211 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.01937, allocations: 224.6 kB / 475.5 MB, free: 5.965 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.01948, allocations: 87.25 kB / 475.6 MB, free: 5.859 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 7.858e-05/0.01956, allocations: 15.92 kB / 475.6 MB, free: 5.844 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.01961, allocations: 12.5 kB / 475.6 MB, free: 5.832 MB / 442.8 MB Notification: Performance of SimCode: time 1.021e-06/0.01961, allocations: 4 kB / 475.6 MB, free: 5.828 MB / 442.8 MB Notification: Performance of Templates: time 0.005761/0.02537, allocations: 1.468 MB / 477.1 MB, free: 4.379 MB / 442.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=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.7500625340035185]