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.008245/0.008245, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0007734/0.0007734, allocations: 88.73 kB / 25.4 MB, free: 6.98 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.001336/0.001336, allocations: 158.8 kB / 29.33 MB, free: 3.117 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.9017/0.9017, allocations: 177.1 MB / 210.3 MB, free: 3.438 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6017/0.6017, allocations: 102.4 MB / 369.8 MB, free: 248 kB / 330.7 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 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_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 1.472e-06/1.472e-06, allocations: 0 / 470.4 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.349e-05, allocations: 2.312 kB / 470.4 MB, free: 18.84 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.001796/0.00181, allocations: 2.182 MB / 472.6 MB, free: 17.38 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004989/0.002308, allocations: 415.4 kB / 473 MB, free: 17.13 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.00235, allocations: 2.219 kB / 473 MB, free: 17.13 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.329e-05/0.002434, allocations: 7.875 kB / 473 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.457e-05/0.002468, allocations: 10.94 kB / 473 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.002799, allocations: 149.2 kB / 473.2 MB, free: 17.05 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 8.778e-05/0.002887, allocations: 82.12 kB / 473.3 MB, free: 17.02 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.76e-05/0.002955, allocations: 14.39 kB / 473.3 MB, free: 17.01 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.121e-05/0.003016, allocations: 41.62 kB / 473.3 MB, free: 16.99 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.003066, allocations: 37.33 kB / 473.4 MB, free: 16.98 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.00308, allocations: 8.438 kB / 473.4 MB, free: 16.98 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.003206, allocations: 82.19 kB / 473.4 MB, free: 16.96 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.003248, allocations: 21.88 kB / 473.5 MB, free: 16.95 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.003271, allocations: 30.41 kB / 473.5 MB, free: 16.93 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.003394, allocations: 123.9 kB / 473.6 MB, free: 16.88 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.003396, allocations: 0.7812 kB / 473.6 MB, free: 16.88 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003397, allocations: 2.625 kB / 473.6 MB, free: 16.88 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.0034, allocations: 1.375 kB / 473.6 MB, free: 16.88 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.0003604/0.00376, allocations: 436.5 kB / 474 MB, free: 16.47 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.0038, allocations: 11.38 kB / 474.1 MB, free: 16.47 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.003835, allocations: 14.14 kB / 474.1 MB, free: 16.46 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.937e-05/0.003934, allocations: 140.3 kB / 474.2 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.003969, allocations: 32.36 kB / 474.2 MB, free: 16.29 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.003988, allocations: 10.94 kB / 474.3 MB, free: 16.28 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.004126, allocations: 90.09 kB / 474.3 MB, free: 16.23 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.004134, allocations: 2.719 kB / 474.3 MB, free: 16.23 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.004144, allocations: 384 / 474.3 MB, free: 16.23 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.004153, allocations: 9.438 kB / 474.4 MB, free: 16.22 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.832e-05/0.004211, allocations: 24.27 kB / 474.4 MB, free: 16.22 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.004515, allocations: 300.8 kB / 474.7 MB, free: 15.96 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.046e-05/0.004585, allocations: 48.61 kB / 474.7 MB, free: 15.92 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.004615, allocations: 25.47 kB / 474.7 MB, free: 15.9 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.004638, allocations: 5.172 kB / 474.7 MB, free: 15.9 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.004651, allocations: 37.33 kB / 474.8 MB, free: 15.86 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.004652, allocations: 2.625 kB / 474.8 MB, free: 15.86 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001717/0.004824, allocations: 87.7 kB / 474.9 MB, free: 15.81 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.004841, allocations: 59.89 kB / 474.9 MB, free: 15.74 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.004894, allocations: 180.2 kB / 475.1 MB, free: 15.57 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.004903, allocations: 28.33 kB / 475.1 MB, free: 15.54 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.004932, allocations: 144.9 kB / 475.3 MB, free: 15.4 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.004955, allocations: 27.67 kB / 475.3 MB, free: 15.38 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.004994, allocations: 30.44 kB / 475.3 MB, free: 15.35 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.005201, allocations: 0.4902 MB / 475.8 MB, free: 30.85 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.005229, allocations: 12.41 kB / 475.8 MB, free: 30.85 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.005253, allocations: 13.83 kB / 475.8 MB, free: 30.85 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/0.005312, allocations: 44.61 kB / 475.9 MB, free: 30.82 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005313, allocations: 1.25 kB / 475.9 MB, free: 30.82 MB / 426.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001001/0.005413, allocations: 83.91 kB / 476 MB, free: 30.78 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.005423, allocations: 5.25 kB / 476 MB, free: 30.78 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.005427, allocations: 7.844 kB / 476 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.005438, allocations: 0 / 476 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.005647, allocations: 57.08 kB / 476 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.005649, allocations: 0 / 476 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.005688, allocations: 9.188 kB / 476.1 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.005695, allocations: 5.953 kB / 476.1 MB, free: 30.77 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 6.332e-05/0.005758, allocations: 159.3 kB / 476.2 MB, free: 30.6 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.005785, allocations: 19.19 kB / 476.2 MB, free: 30.59 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.005817, allocations: 11.06 kB / 476.2 MB, free: 30.59 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.005818, allocations: 1.188 kB / 476.2 MB, free: 30.59 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.00582, allocations: 0 / 476.2 MB, free: 30.59 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.005823, allocations: 3.281 kB / 476.2 MB, free: 30.59 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.00594, allocations: 119.6 kB / 476.4 MB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.005941, allocations: 0 / 476.4 MB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.006152, allocations: 52.56 kB / 476.4 MB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006154, allocations: 0 / 476.4 MB, free: 30.46 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.006164, allocations: 6.156 kB / 476.4 MB, free: 30.45 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006165, allocations: 3.938 kB / 476.4 MB, free: 30.45 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006166, allocations: 0.6562 kB / 476.4 MB, free: 30.45 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.006342, allocations: 241 kB / 476.7 MB, free: 30.25 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.00635, allocations: 6.828 kB / 476.7 MB, free: 30.25 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.006363, allocations: 0 / 476.7 MB, free: 30.25 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.00643, allocations: 16.59 kB / 476.7 MB, free: 30.24 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.006457, allocations: 10.25 kB / 476.7 MB, free: 30.23 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.006463, allocations: 6.219 kB / 476.7 MB, free: 30.23 MB / 426.8 MB Notification: Performance of sorting global known variables: time 4.468e-05/0.006508, allocations: 140.1 kB / 476.8 MB, free: 30.11 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006508, allocations: 0.5 kB / 476.8 MB, free: 30.11 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002324/0.00674, allocations: 30.03 kB / 476.9 MB, free: 30.11 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 0.0001232/0.006863, allocations: 126.4 kB / 477 MB, free: 30.01 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 9.968e-05/0.006963, allocations: 48.8 kB / 477 MB, free: 29.99 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006964, allocations: 0 / 477 MB, free: 29.99 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.75e-05/0.007001, allocations: 37.92 kB / 477.1 MB, free: 29.97 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.007211, allocations: 9.531 kB / 477.1 MB, free: 29.97 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.007463, allocations: 202.5 kB / 477.3 MB, free: 29.8 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.9e-05/0.007492, allocations: 66.03 kB / 477.3 MB, free: 29.73 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 3.598e-05/0.007528, allocations: 8.938 kB / 477.4 MB, free: 29.73 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.00759, allocations: 80.45 kB / 477.4 MB, free: 29.67 MB / 426.8 MB Notification: Performance of SimCode: time 5.21e-07/0.007591, allocations: 0 / 477.4 MB, free: 29.67 MB / 426.8 MB Notification: Performance of Templates: time 0.00315/0.01074, allocations: 1.634 MB / 479.1 MB, free: 29.52 MB / 426.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=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 240] 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","",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.3248574039898813]