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.008551/0.008551, 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.0007706/0.0007706, allocations: 88.19 kB / 25.48 MB, free: 6.363 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.0008407/0.0008407, allocations: 158.2 kB / 28.89 MB, free: 3.352 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.894/0.894, allocations: 177.2 MB / 209.4 MB, free: 2.211 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.7155/0.7155, allocations: 102.5 MB / 368.3 MB, free: 0.793 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.503e-06/1.503e-06, allocations: 0 / 415.1 MB, free: 2.199 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.545e-05, allocations: 2.312 kB / 415.1 MB, free: 2.195 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.002394/0.00242, allocations: 2.236 MB / 417.4 MB, free: 15.95 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006336/0.003053, allocations: 434.3 kB / 417.8 MB, free: 15.52 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.003103, allocations: 0 / 417.8 MB, free: 15.52 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 8.852e-05/0.003192, allocations: 7.875 kB / 417.8 MB, free: 15.51 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 3.737e-05/0.003229, allocations: 11.88 kB / 417.8 MB, free: 15.5 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.003636, allocations: 135.5 kB / 417.9 MB, free: 15.37 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.003748, allocations: 87.69 kB / 418 MB, free: 15.28 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.458e-05/0.003822, allocations: 7.984 kB / 418 MB, free: 15.27 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.23e-05/0.003895, allocations: 47.89 kB / 418.1 MB, free: 15.23 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.003948, allocations: 23.97 kB / 418.1 MB, free: 15.2 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.003963, allocations: 12 kB / 418.1 MB, free: 15.19 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.004135, allocations: 99.72 kB / 418.2 MB, free: 15.09 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.004186, allocations: 27.97 kB / 418.2 MB, free: 15.07 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.004214, allocations: 23.91 kB / 418.3 MB, free: 15.04 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.004371, allocations: 127.6 kB / 418.4 MB, free: 14.92 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004373, allocations: 0 / 418.4 MB, free: 14.92 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004374, allocations: 0 / 418.4 MB, free: 14.92 MB / 394.8 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004378, allocations: 0 / 418.4 MB, free: 14.92 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.0003615/0.004739, allocations: 308.5 kB / 418.7 MB, free: 14.59 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.00477, allocations: 15.97 kB / 418.7 MB, free: 14.57 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.004803, allocations: 12.92 kB / 418.7 MB, free: 14.56 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.004925, allocations: 129.6 kB / 418.8 MB, free: 14.41 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.004965, allocations: 38.25 kB / 418.9 MB, free: 14.37 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.004982, allocations: 4.375 kB / 418.9 MB, free: 14.36 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.005116, allocations: 89.67 kB / 419 MB, free: 14.27 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.005121, allocations: 192 / 419 MB, free: 14.27 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.00513, allocations: 4.375 kB / 419 MB, free: 14.26 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.00514, allocations: 4.125 kB / 419 MB, free: 14.26 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.359e-05/0.005193, allocations: 23.97 kB / 419 MB, free: 14.23 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.00545, allocations: 205.9 kB / 419.2 MB, free: 14.02 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.081e-05/0.00553, allocations: 89.23 kB / 419.3 MB, free: 13.92 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.005556, allocations: 16.84 kB / 419.3 MB, free: 13.9 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.005572, allocations: 0 / 419.3 MB, free: 13.9 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.00559, allocations: 38.56 kB / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.005591, allocations: 0 / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001369/0.005728, allocations: 77.7 kB / 419.4 MB, free: 13.77 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.005752, allocations: 59.28 kB / 419.5 MB, free: 13.7 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.835e-05/0.00581, allocations: 134.6 kB / 419.6 MB, free: 13.55 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.005822, allocations: 29.7 kB / 419.6 MB, free: 13.52 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.005851, allocations: 84.14 kB / 419.7 MB, free: 13.43 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.005877, allocations: 35.72 kB / 419.8 MB, free: 13.4 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.005912, allocations: 29.69 kB / 419.8 MB, free: 13.36 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.005983, allocations: 318.8 kB / 420.1 MB, free: 13.04 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.006005, allocations: 14.81 kB / 420.1 MB, free: 13.03 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.006023, allocations: 8 kB / 420.1 MB, free: 13.02 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.006078, allocations: 42.67 kB / 420.2 MB, free: 12.97 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.00608, allocations: 0 / 420.2 MB, free: 12.97 MB / 394.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.64e-05/0.006156, allocations: 69.55 kB / 420.2 MB, free: 12.9 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.006168, allocations: 11.94 kB / 420.2 MB, free: 12.89 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.006172, allocations: 4 kB / 420.2 MB, free: 12.88 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.00618, allocations: 0 / 420.2 MB, free: 12.88 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.006394, allocations: 51.89 kB / 420.3 MB, free: 12.83 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.006396, allocations: 0 / 420.3 MB, free: 12.83 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.006431, allocations: 19.94 kB / 420.3 MB, free: 12.81 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.006436, allocations: 0 / 420.3 MB, free: 12.81 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.755e-05/0.006494, allocations: 120.7 kB / 420.4 MB, free: 12.68 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.006515, allocations: 11.92 kB / 420.4 MB, free: 12.67 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.006547, allocations: 12.44 kB / 420.5 MB, free: 12.66 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.00655, allocations: 4 kB / 420.5 MB, free: 12.66 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006552, allocations: 0 / 420.5 MB, free: 12.66 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006554, allocations: 0 / 420.5 MB, free: 12.66 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.455e-05/0.006649, allocations: 85.84 kB / 420.5 MB, free: 12.55 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.006652, allocations: 7.984 kB / 420.6 MB, free: 12.55 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.006837, allocations: 51.95 kB / 420.6 MB, free: 12.5 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006839, allocations: 4 kB / 420.6 MB, free: 12.49 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.006848, allocations: 0 / 420.6 MB, free: 12.49 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.006851, allocations: 7.922 kB / 420.6 MB, free: 12.48 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006852, allocations: 0 / 420.6 MB, free: 12.48 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.007011, allocations: 218.2 kB / 420.8 MB, free: 12.25 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.007022, allocations: 11.88 kB / 420.8 MB, free: 12.24 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.007034, allocations: 8 kB / 420.8 MB, free: 12.23 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.007082, allocations: 7.938 kB / 420.9 MB, free: 12.23 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.007111, allocations: 15.95 kB / 420.9 MB, free: 12.21 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.007116, allocations: 3.984 kB / 420.9 MB, free: 12.21 MB / 394.8 MB Notification: Performance of sorting global known variables: time 1.959e-05/0.007136, allocations: 31.64 kB / 420.9 MB, free: 12.18 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007136, allocations: 0 / 420.9 MB, free: 12.18 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.000159/0.007295, allocations: 31.89 kB / 420.9 MB, free: 12.14 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.0001324/0.007428, allocations: 104.4 kB / 421 MB, free: 12.04 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 8.336e-05/0.007511, allocations: 41.17 kB / 421.1 MB, free: 11.99 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.007515, allocations: 4 kB / 421.1 MB, free: 11.99 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.007547, allocations: 32.77 kB / 421.1 MB, free: 11.95 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.007672, allocations: 15.98 kB / 421.1 MB, free: 11.94 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.007981, allocations: 214.1 kB / 421.3 MB, free: 11.7 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.63e-05/0.008027, allocations: 63.34 kB / 421.4 MB, free: 11.61 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.008062, allocations: 4 kB / 421.4 MB, free: 11.61 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.008371, allocations: 63.36 kB / 421.5 MB, free: 11.55 MB / 394.8 MB Notification: Performance of SimCode: time 6.51e-07/0.008372, allocations: 4 kB / 421.5 MB, free: 11.54 MB / 394.8 MB Notification: Performance of Templates: time 0.003285/0.01166, allocations: 1.489 MB / 423 MB, free: 10.06 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 -s gbode -gbm=radauIIA3 -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.0907119680196047]