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.01784/0.01784, allocations: 1.781 MB / 22.36 MB, free: 2.117 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.001444/0.001444, allocations: 78.86 kB / 26.19 MB, free: 6.078 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.001144/0.001144, allocations: 165.4 kB / 30.12 MB, free: 2.184 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.9164/0.9164, allocations: 177.2 MB / 211.1 MB, free: 3.422 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.6005/0.6005, allocations: 102.5 MB / 370.6 MB, free: 216 kB / 330.7 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.182e-06/1.182e-06, allocations: 0 / 471.2 MB, free: 18.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.728e-05, allocations: 4.234 kB / 471.2 MB, free: 18.77 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.00172/0.001737, allocations: 2.194 MB / 473.4 MB, free: 17.31 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004607/0.002198, allocations: 412.9 kB / 473.8 MB, free: 17.05 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.002241, allocations: 0 / 473.8 MB, free: 17.05 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.257e-05/0.002334, allocations: 7.406 kB / 473.8 MB, free: 17.05 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.002374, allocations: 14.92 kB / 473.9 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.002708, allocations: 142.3 kB / 474 MB, free: 16.98 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.002797, allocations: 87.47 kB / 474.1 MB, free: 16.94 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.817e-05/0.002865, allocations: 11.55 kB / 474.1 MB, free: 16.94 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.388e-05/0.002919, allocations: 40.39 kB / 474.1 MB, free: 16.92 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.002967, allocations: 34.94 kB / 474.2 MB, free: 16.91 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.00298, allocations: 5.625 kB / 474.2 MB, free: 16.91 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.003095, allocations: 85.91 kB / 474.3 MB, free: 16.89 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.003137, allocations: 21.12 kB / 474.3 MB, free: 16.88 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.00316, allocations: 22.95 kB / 474.3 MB, free: 16.86 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.003291, allocations: 130.3 kB / 474.4 MB, free: 16.81 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.003292, allocations: 0 / 474.4 MB, free: 16.81 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003293, allocations: 1.219 kB / 474.4 MB, free: 16.81 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.003297, allocations: 0 / 474.4 MB, free: 16.81 MB / 410.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.0003247/0.003621, allocations: 443.5 kB / 474.9 MB, free: 16.4 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.597e-05/0.003647, allocations: 11.81 kB / 474.9 MB, free: 16.39 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.003678, allocations: 15.55 kB / 474.9 MB, free: 16.39 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.003766, allocations: 135.8 kB / 475 MB, free: 16.25 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.003797, allocations: 34.95 kB / 475.1 MB, free: 16.21 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.003814, allocations: 5.625 kB / 475.1 MB, free: 16.21 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.003926, allocations: 84.97 kB / 475.1 MB, free: 16.16 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.003931, allocations: 192 / 475.1 MB, free: 16.16 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.003939, allocations: 10.06 kB / 475.1 MB, free: 16.16 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.003943, allocations: 4.125 kB / 475.2 MB, free: 16.15 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.472e-05/0.003998, allocations: 27.52 kB / 475.2 MB, free: 16.15 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.004226, allocations: 296 kB / 475.5 MB, free: 15.89 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.443e-05/0.004291, allocations: 52.7 kB / 475.5 MB, free: 15.85 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.004313, allocations: 22.12 kB / 475.5 MB, free: 15.84 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.004328, allocations: 7.172 kB / 475.5 MB, free: 15.84 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.00434, allocations: 43.95 kB / 475.6 MB, free: 15.79 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.004341, allocations: 0 / 475.6 MB, free: 15.79 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001366/0.004478, allocations: 87.08 kB / 475.7 MB, free: 15.74 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.493e-05/0.004492, allocations: 55.34 kB / 475.7 MB, free: 15.68 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.013e-05/0.004533, allocations: 184.6 kB / 475.9 MB, free: 15.5 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.004541, allocations: 32.33 kB / 475.9 MB, free: 15.47 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.004716, allocations: 142.6 kB / 476.1 MB, free: 31.33 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.004736, allocations: 29.7 kB / 476.1 MB, free: 31.3 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.004766, allocations: 34.56 kB / 476.1 MB, free: 31.27 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.004862, allocations: 0.4914 MB / 476.6 MB, free: 30.78 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.004883, allocations: 15.09 kB / 476.7 MB, free: 30.77 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.004902, allocations: 10.78 kB / 476.7 MB, free: 30.77 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.35e-05/0.004945, allocations: 37.22 kB / 476.7 MB, free: 30.76 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.004946, allocations: 0 / 476.7 MB, free: 30.76 MB / 426.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.732e-05/0.005024, allocations: 88.84 kB / 476.8 MB, free: 30.71 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.005032, allocations: 6.5 kB / 476.8 MB, free: 30.71 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.005035, allocations: 0 / 476.8 MB, free: 30.71 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-06/0.005041, allocations: 0 / 476.8 MB, free: 30.71 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.005211, allocations: 49.62 kB / 476.8 MB, free: 30.71 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.005214, allocations: 3.234 kB / 476.8 MB, free: 30.71 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.005248, allocations: 13.33 kB / 476.9 MB, free: 30.7 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.005254, allocations: 6.656 kB / 476.9 MB, free: 30.7 MB / 426.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.603e-05/0.00531, allocations: 162.4 kB / 477 MB, free: 30.53 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.00533, allocations: 17.2 kB / 477 MB, free: 30.52 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.005356, allocations: 11.06 kB / 477 MB, free: 30.52 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.005357, allocations: 0.7188 kB / 477 MB, free: 30.52 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.005358, allocations: 0 / 477 MB, free: 30.52 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005361, allocations: 1.125 kB / 477.1 MB, free: 30.52 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.87e-05/0.005439, allocations: 123.9 kB / 477.2 MB, free: 30.39 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.00544, allocations: 0 / 477.2 MB, free: 30.39 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.005606, allocations: 51.08 kB / 477.2 MB, free: 30.39 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.005607, allocations: 0 / 477.2 MB, free: 30.39 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.005615, allocations: 2.844 kB / 477.2 MB, free: 30.39 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005616, allocations: 4.594 kB / 477.2 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.005617, allocations: 0 / 477.2 MB, free: 30.38 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.005763, allocations: 247.9 kB / 477.5 MB, free: 30.18 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.005771, allocations: 10.84 kB / 477.5 MB, free: 30.17 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.005782, allocations: 2.625 kB / 477.5 MB, free: 30.17 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.005828, allocations: 12.17 kB / 477.5 MB, free: 30.16 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.005854, allocations: 14.91 kB / 477.5 MB, free: 30.16 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.005859, allocations: 3.734 kB / 477.5 MB, free: 30.16 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.669e-05/0.005895, allocations: 136.3 kB / 477.6 MB, free: 30.04 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.005895, allocations: 1.125 kB / 477.6 MB, free: 30.04 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001597/0.006055, allocations: 31.62 kB / 477.7 MB, free: 30.03 MB / 426.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 9.299e-05/0.006148, allocations: 124.6 kB / 477.8 MB, free: 29.93 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 8.353e-05/0.006232, allocations: 52.5 kB / 477.9 MB, free: 29.91 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.21e-07/0.006233, allocations: 1.031 kB / 477.9 MB, free: 29.91 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.006263, allocations: 33.89 kB / 477.9 MB, free: 29.9 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.006417, allocations: 9.75 kB / 477.9 MB, free: 29.89 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002125/0.006629, allocations: 201.7 kB / 478.1 MB, free: 29.73 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.211e-05/0.006652, allocations: 66.25 kB / 478.2 MB, free: 29.66 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.985e-05/0.006681, allocations: 9.281 kB / 478.2 MB, free: 29.66 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.006733, allocations: 84 kB / 478.2 MB, free: 29.59 MB / 426.8 MB Notification: Performance of SimCode: time 3.81e-07/0.006733, allocations: 0 / 478.2 MB, free: 29.59 MB / 426.8 MB Notification: Performance of Templates: time 0.002611/0.009344, allocations: 1.648 MB / 479.9 MB, free: 29.45 MB / 426.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.5250157141126692]