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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.006078/0.006078, allocations: 1.34 MB / 11.17 MB, free: 2.988 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.007335, allocations: 0.8268 MB / 12 MB, free: 2.156 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07721/0.07721, allocations: 18.23 MB / 30.97 MB, free: 4.902 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01094/0.08816, allocations: 7.691 MB / 38.66 MB, free: 8.215 MB / 44.04 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.0005709/0.0005709, allocations: 79.97 kB / 39.47 MB, free: 7.41 MB / 44.04 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001606, allocations: 444.6 kB / 39.91 MB, free: 6.984 MB / 44.04 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.0006898/0.0006898, allocations: 144.7 kB / 40.79 MB, free: 6.105 MB / 44.04 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009426/0.001632, allocations: 471.5 kB / 41.25 MB, free: 5.641 MB / 44.04 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.9225/0.9225, allocations: 177.2 MB / 219.2 MB, free: 11.37 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1/1.023, allocations: 53.67 MB / 272.8 MB, free: 5.707 MB / 266.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.7315/0.7315, allocations: 102.4 MB / 376 MB, free: 8.895 MB / 362.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07797/0.8094, allocations: 28.56 MB / 404.6 MB, free: 12.45 MB / 394.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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="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="noise.y|noise.y_",fileNamePrefix="ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 406.4 MB, free: 10.61 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.487e-05, allocations: 6.25 kB / 406.4 MB, free: 10.6 MB / 394.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003668/0.003692, allocations: 2.233 MB / 408.6 MB, free: 8.355 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007344/0.004427, allocations: 430.4 kB / 409.1 MB, free: 7.934 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.004492, allocations: 3.938 kB / 409.1 MB, free: 7.93 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 8.109e-05/0.004573, allocations: 7.875 kB / 409.1 MB, free: 7.922 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.004622, allocations: 11.88 kB / 409.1 MB, free: 7.91 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.005121, allocations: 139.5 kB / 409.2 MB, free: 7.773 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.005267, allocations: 79.72 kB / 409.3 MB, free: 7.695 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.697e-05/0.005354, allocations: 7.984 kB / 409.3 MB, free: 7.688 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.00547, allocations: 63.81 kB / 409.4 MB, free: 7.625 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.005548, allocations: 31.95 kB / 409.4 MB, free: 7.594 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.005567, allocations: 8 kB / 409.4 MB, free: 7.586 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.0058, allocations: 91.84 kB / 409.5 MB, free: 7.496 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.005859, allocations: 12 kB / 409.5 MB, free: 7.484 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.005908, allocations: 19.94 kB / 409.5 MB, free: 7.465 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.006119, allocations: 111.6 kB / 409.6 MB, free: 7.355 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.915e-05/0.006138, allocations: 0 / 409.6 MB, free: 7.355 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.704e-06/0.00614, allocations: 0 / 409.6 MB, free: 7.355 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.006158, allocations: 0 / 409.6 MB, free: 7.355 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.000564/0.006722, allocations: 328.1 kB / 410 MB, free: 7.008 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.006762, allocations: 12.03 kB / 410 MB, free: 6.996 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.006802, allocations: 12.92 kB / 410 MB, free: 6.984 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.006953, allocations: 129.6 kB / 410.1 MB, free: 6.832 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.007013, allocations: 42.25 kB / 410.2 MB, free: 6.785 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.007036, allocations: 4.375 kB / 410.2 MB, free: 6.781 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.007226, allocations: 89.73 kB / 410.2 MB, free: 6.684 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.007235, allocations: 192 / 410.2 MB, free: 6.684 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.007245, allocations: 384 / 410.2 MB, free: 6.684 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.007252, allocations: 4.125 kB / 410.3 MB, free: 6.68 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.135e-05/0.007323, allocations: 23.97 kB / 410.3 MB, free: 6.656 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.007648, allocations: 213.8 kB / 410.5 MB, free: 6.43 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.518e-05/0.007743, allocations: 81.41 kB / 410.6 MB, free: 6.34 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.007769, allocations: 24.78 kB / 410.6 MB, free: 6.312 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.007793, allocations: 4 kB / 410.6 MB, free: 6.309 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.007817, allocations: 38.55 kB / 410.6 MB, free: 6.262 MB / 394.8 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.007818, allocations: 0 / 410.6 MB, free: 6.262 MB / 394.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001589/0.007977, allocations: 77.55 kB / 410.7 MB, free: 6.18 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.008022, allocations: 51.41 kB / 410.8 MB, free: 6.117 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.008111, allocations: 134.3 kB / 410.9 MB, free: 5.977 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.008125, allocations: 29.7 kB / 410.9 MB, free: 5.941 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.008172, allocations: 88.12 kB / 411 MB, free: 5.852 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.008212, allocations: 35.69 kB / 411 MB, free: 5.816 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.00826, allocations: 29.69 kB / 411.1 MB, free: 5.781 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.008336, allocations: 322.8 kB / 411.4 MB, free: 5.457 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.00836, allocations: 10.83 kB / 411.4 MB, free: 5.445 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.008378, allocations: 11.94 kB / 411.4 MB, free: 5.434 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.35e-05/0.008432, allocations: 46.42 kB / 411.4 MB, free: 5.383 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008434, allocations: 0 / 411.4 MB, free: 5.383 MB / 394.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.457e-05/0.008508, allocations: 65.61 kB / 411.5 MB, free: 5.312 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.00852, allocations: 11.94 kB / 411.5 MB, free: 5.301 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.008525, allocations: 0 / 411.5 MB, free: 5.301 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.008533, allocations: 4 kB / 411.5 MB, free: 5.297 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.008768, allocations: 59.94 kB / 411.6 MB, free: 5.238 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.00877, allocations: 0 / 411.6 MB, free: 5.238 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.008802, allocations: 4 kB / 411.6 MB, free: 5.234 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.008808, allocations: 4 kB / 411.6 MB, free: 5.23 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.883e-05/0.008866, allocations: 120.7 kB / 411.7 MB, free: 5.102 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.008886, allocations: 7.938 kB / 411.7 MB, free: 5.094 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.008919, allocations: 12.44 kB / 411.7 MB, free: 5.082 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.008921, allocations: 0 / 411.7 MB, free: 5.082 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.008923, allocations: 0 / 411.7 MB, free: 5.082 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.008927, allocations: 3.984 kB / 411.7 MB, free: 5.078 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.829e-05/0.009025, allocations: 89.86 kB / 411.8 MB, free: 4.973 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.009026, allocations: 0 / 411.8 MB, free: 4.973 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.009212, allocations: 59.88 kB / 411.9 MB, free: 4.914 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.009224, allocations: 11.89 kB / 411.9 MB, free: 4.902 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.009226, allocations: 0 / 411.9 MB, free: 4.902 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.009235, allocations: 3.938 kB / 411.9 MB, free: 4.898 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.009236, allocations: 3.938 kB / 411.9 MB, free: 4.895 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.009237, allocations: 0 / 411.9 MB, free: 4.895 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.009407, allocations: 230.2 kB / 412.1 MB, free: 4.652 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.009422, allocations: 4 kB / 412.1 MB, free: 4.648 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.009473, allocations: 15.92 kB / 412.1 MB, free: 4.633 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.009506, allocations: 11.95 kB / 412.2 MB, free: 4.621 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.009511, allocations: 8 kB / 412.2 MB, free: 4.613 MB / 394.8 MB Notification: Performance of sorting global known variables: time 1.942e-05/0.009531, allocations: 16.84 kB / 412.2 MB, free: 4.594 MB / 394.8 MB Notification: Performance of sort global known variables: time 4e-08/0.009531, allocations: 0 / 412.2 MB, free: 4.594 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0001721/0.009703, allocations: 35.94 kB / 412.2 MB, free: 4.559 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.0001706/0.009874, allocations: 108.4 kB / 412.3 MB, free: 4.445 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 9.59e-05/0.00997, allocations: 40.84 kB / 412.4 MB, free: 4.402 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.009978, allocations: 7.938 kB / 412.4 MB, free: 4.395 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/0.01001, allocations: 21.23 kB / 412.4 MB, free: 4.371 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.01016, allocations: 20 kB / 412.4 MB, free: 4.352 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.01062, allocations: 202.3 kB / 412.6 MB, free: 4.125 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.607e-05/0.01065, allocations: 67.33 kB / 412.7 MB, free: 4.039 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 3.324e-05/0.01069, allocations: 7.984 kB / 412.7 MB, free: 4.031 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.01074, allocations: 59.38 kB / 412.7 MB, free: 3.973 MB / 394.8 MB Notification: Performance of SimCode: time 6.01e-07/0.01074, allocations: 4 kB / 412.7 MB, free: 3.969 MB / 394.8 MB Notification: Performance of Templates: time 0.003181/0.01392, allocations: 1.509 MB / 414.3 MB, free: 2.473 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 -ignoreHideResult -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.398501129820943]