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.008095/0.008095, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.001252/0.001252, allocations: 86.08 kB / 25.15 MB, free: 6.316 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.001447/0.001447, allocations: 168.1 kB / 29.06 MB, free: 3.348 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.9048/0.9048, allocations: 177.1 MB / 210 MB, free: 3.582 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.6173/0.6173, allocations: 102.4 MB / 369.5 MB, free: 388 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.553e-06/1.553e-06, allocations: 0 / 469.9 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.57e-05, allocations: 3.734 kB / 469.9 MB, free: 18.95 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.001819/0.001835, allocations: 2.187 MB / 472.1 MB, free: 17.5 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005827/0.002418, allocations: 423.8 kB / 472.5 MB, free: 17.24 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.002467, allocations: 3.75 kB / 472.6 MB, free: 17.24 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.002574, allocations: 8.625 kB / 472.6 MB, free: 17.23 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.812e-05/0.002612, allocations: 9.125 kB / 472.6 MB, free: 17.22 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.003044, allocations: 151.5 kB / 472.7 MB, free: 17.16 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.003165, allocations: 82.86 kB / 472.8 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003267, allocations: 10.48 kB / 472.8 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.36e-05/0.00334, allocations: 49.39 kB / 472.9 MB, free: 17.1 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.003404, allocations: 29.66 kB / 472.9 MB, free: 17.09 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.003422, allocations: 9.094 kB / 472.9 MB, free: 17.09 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.003577, allocations: 82.89 kB / 473 MB, free: 17.07 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.003632, allocations: 22.05 kB / 473 MB, free: 17.05 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.003663, allocations: 29.28 kB / 473 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.003811, allocations: 129.8 kB / 473.2 MB, free: 16.99 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.003813, allocations: 0 / 473.2 MB, free: 16.99 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003814, allocations: 1.094 kB / 473.2 MB, free: 16.99 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.003817, allocations: 2.906 kB / 473.2 MB, free: 16.99 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.0004057/0.004223, allocations: 433.1 kB / 473.6 MB, free: 16.58 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.004256, allocations: 11.69 kB / 473.6 MB, free: 16.58 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.004296, allocations: 12.08 kB / 473.6 MB, free: 16.57 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.004412, allocations: 137.2 kB / 473.7 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.004457, allocations: 38.88 kB / 473.8 MB, free: 16.39 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.004477, allocations: 6.125 kB / 473.8 MB, free: 16.39 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.004621, allocations: 94.27 kB / 473.9 MB, free: 16.34 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.004628, allocations: 192 / 473.9 MB, free: 16.34 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.004637, allocations: 1.312 kB / 473.9 MB, free: 16.34 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.004644, allocations: 6.938 kB / 473.9 MB, free: 16.33 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.703e-05/0.004711, allocations: 33.91 kB / 473.9 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.005003, allocations: 318.1 kB / 474.2 MB, free: 16.04 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/0.005083, allocations: 55.36 kB / 474.3 MB, free: 16 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.005121, allocations: 25.75 kB / 474.3 MB, free: 15.98 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.005141, allocations: 11.11 kB / 474.3 MB, free: 15.98 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.005154, allocations: 38.36 kB / 474.4 MB, free: 15.93 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.005155, allocations: 0 / 474.4 MB, free: 15.93 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001828/0.005338, allocations: 92.75 kB / 474.4 MB, free: 15.89 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.005356, allocations: 51.41 kB / 474.5 MB, free: 15.82 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.00554, allocations: 189 kB / 474.7 MB, free: 31.65 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 7.824e-06/0.005548, allocations: 25.7 kB / 474.7 MB, free: 31.62 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.005593, allocations: 147.5 kB / 474.8 MB, free: 31.48 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.005616, allocations: 28.44 kB / 474.9 MB, free: 31.46 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.005647, allocations: 28.14 kB / 474.9 MB, free: 31.43 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.005754, allocations: 0.4906 MB / 475.4 MB, free: 30.93 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.005787, allocations: 18.47 kB / 475.4 MB, free: 30.93 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-05/0.005813, allocations: 20.72 kB / 475.4 MB, free: 30.93 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.287e-05/0.005876, allocations: 46.45 kB / 475.5 MB, free: 30.9 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005878, allocations: 3.938 kB / 475.5 MB, free: 30.9 MB / 426.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.531e-05/0.005973, allocations: 91.42 kB / 475.6 MB, free: 30.84 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.005984, allocations: 11.73 kB / 475.6 MB, free: 30.84 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.005988, allocations: 0 / 475.6 MB, free: 30.84 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.005999, allocations: 0 / 475.6 MB, free: 30.84 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.006187, allocations: 48.97 kB / 475.6 MB, free: 30.84 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.006191, allocations: 1.25 kB / 475.6 MB, free: 30.84 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.006223, allocations: 17.22 kB / 475.6 MB, free: 30.84 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.00623, allocations: 2.625 kB / 475.6 MB, free: 30.84 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.727e-05/0.006287, allocations: 160.4 kB / 475.8 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.006306, allocations: 17.14 kB / 475.8 MB, free: 30.66 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.006339, allocations: 17.25 kB / 475.8 MB, free: 30.66 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.006341, allocations: 0 / 475.8 MB, free: 30.66 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.006344, allocations: 0 / 475.8 MB, free: 30.66 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.006346, allocations: 0 / 475.8 MB, free: 30.66 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.334e-05/0.006429, allocations: 142.6 kB / 476 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.00643, allocations: 0 / 476 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.006599, allocations: 51.34 kB / 476 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.006602, allocations: 3.938 kB / 476 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.006613, allocations: 4 kB / 476 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.006614, allocations: 2.625 kB / 476 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006615, allocations: 2.562 kB / 476 MB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.006795, allocations: 245.2 kB / 476.3 MB, free: 30.29 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-06/0.006804, allocations: 10.52 kB / 476.3 MB, free: 30.29 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.006817, allocations: 7.188 kB / 476.3 MB, free: 30.28 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.482e-05/0.006862, allocations: 5.25 kB / 476.3 MB, free: 30.28 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.006899, allocations: 9.281 kB / 476.3 MB, free: 30.28 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.006905, allocations: 9.156 kB / 476.3 MB, free: 30.28 MB / 426.8 MB Notification: Performance of sorting global known variables: time 4.234e-05/0.006947, allocations: 137.3 kB / 476.5 MB, free: 30.16 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006947, allocations: 0 / 476.5 MB, free: 30.16 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001646/0.007112, allocations: 30.19 kB / 476.5 MB, free: 30.15 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.0001142/0.007226, allocations: 129.4 kB / 476.6 MB, free: 30.05 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.007332, allocations: 54.8 kB / 476.7 MB, free: 30.03 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007333, allocations: 3.938 kB / 476.7 MB, free: 30.03 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.007369, allocations: 33.72 kB / 476.7 MB, free: 30.01 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.007534, allocations: 12.34 kB / 476.7 MB, free: 30.01 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.007808, allocations: 206.6 kB / 476.9 MB, free: 29.84 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.518e-05/0.007833, allocations: 63.28 kB / 477 MB, free: 29.77 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 3.413e-05/0.007867, allocations: 12.3 kB / 477 MB, free: 29.77 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.007896, allocations: 21.28 kB / 477 MB, free: 29.76 MB / 426.8 MB Notification: Performance of SimCode: time 4.61e-07/0.007896, allocations: 0 / 477 MB, free: 29.76 MB / 426.8 MB Notification: Performance of Templates: time 0.002871/0.01077, allocations: 1.599 MB / 478.6 MB, free: 29.64 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.4494927749037743]