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.01774/0.01774, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001711/0.001711, allocations: 84.27 kB / 24.89 MB, free: 6.832 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.001886/0.001886, allocations: 171.6 kB / 28.74 MB, free: 3.66 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 1.489/1.489, allocations: 177.1 MB / 209.6 MB, free: 2.383 MB / 186.7 MB " [Timeout remaining time 178] 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 1.132/1.132, allocations: 102.5 MB / 369.1 MB, free: 0.9141 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.773e-06/1.773e-06, allocations: 0 / 469.1 MB, free: 13.02 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.524e-05/3.701e-05, allocations: 2.312 kB / 469.1 MB, free: 13.01 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.004573/0.00461, allocations: 2.132 MB / 471.3 MB, free: 10.87 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.005869, allocations: 418.5 kB / 471.7 MB, free: 10.46 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.00593, allocations: 0 / 471.7 MB, free: 10.46 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.006073, allocations: 11.86 kB / 471.7 MB, free: 10.45 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.536e-05/0.006139, allocations: 11.86 kB / 471.7 MB, free: 10.43 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.006846, allocations: 139.5 kB / 471.8 MB, free: 10.3 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.007043, allocations: 95.69 kB / 471.9 MB, free: 10.2 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.007142, allocations: 11.98 kB / 472 MB, free: 10.19 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.007257, allocations: 39.91 kB / 472 MB, free: 10.15 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.007361, allocations: 43.88 kB / 472 MB, free: 10.11 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.007387, allocations: 4 kB / 472 MB, free: 10.11 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.007648, allocations: 87.8 kB / 472.1 MB, free: 10.02 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 8.23e-05/0.00773, allocations: 27.91 kB / 472.1 MB, free: 9.992 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.007799, allocations: 19.98 kB / 472.2 MB, free: 9.973 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.008138, allocations: 143.6 kB / 472.3 MB, free: 9.832 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.008142, allocations: 0 / 472.3 MB, free: 9.832 MB / 442.8 MB Notification: Performance of FrontEnd: time 4.649e-06/0.008147, allocations: 4 kB / 472.3 MB, free: 9.828 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.008152, allocations: 3.938 kB / 472.3 MB, free: 9.824 MB / 442.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.0009223/0.009075, allocations: 447.8 kB / 472.8 MB, free: 9.348 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.009123, allocations: 8.031 kB / 472.8 MB, free: 9.34 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.009198, allocations: 12.89 kB / 472.8 MB, free: 9.328 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.009456, allocations: 141.5 kB / 472.9 MB, free: 9.164 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.01e-05/0.009536, allocations: 30.27 kB / 472.9 MB, free: 9.129 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.009572, allocations: 8.375 kB / 473 MB, free: 9.121 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.009911, allocations: 90.14 kB / 473 MB, free: 9.027 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.009923, allocations: 192 / 473 MB, free: 9.027 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.009939, allocations: 384 / 473 MB, free: 9.027 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.00995, allocations: 8.125 kB / 473 MB, free: 9.02 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.01031, allocations: 67.94 kB / 473.1 MB, free: 8.953 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000773/0.01108, allocations: 327.7 kB / 473.4 MB, free: 8.598 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.01139, allocations: 83 kB / 473.5 MB, free: 8.504 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.01159, allocations: 47.88 kB / 473.6 MB, free: 8.453 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.01164, allocations: 7.875 kB / 473.6 MB, free: 8.445 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.215e-05/0.0117, allocations: 41.39 kB / 473.6 MB, free: 8.395 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.0117, allocations: 0 / 473.6 MB, free: 8.395 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0007478/0.01245, allocations: 161.5 kB / 473.8 MB, free: 8.23 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.01251, allocations: 55.39 kB / 473.8 MB, free: 8.164 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.01273, allocations: 195.2 kB / 474 MB, free: 7.957 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.01276, allocations: 25.7 kB / 474 MB, free: 7.926 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.01289, allocations: 150.8 kB / 474.2 MB, free: 7.773 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.01295, allocations: 31.73 kB / 474.2 MB, free: 7.742 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.01303, allocations: 35.38 kB / 474.2 MB, free: 7.699 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0003298/0.01336, allocations: 0.4923 MB / 474.7 MB, free: 7.195 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.01357, allocations: 39.97 kB / 474.8 MB, free: 7.156 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.01375, allocations: 35.98 kB / 474.8 MB, free: 7.121 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.01412, allocations: 91.64 kB / 474.9 MB, free: 7.027 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01412, allocations: 3.938 kB / 474.9 MB, free: 7.023 MB / 442.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005087/0.01463, allocations: 137.7 kB / 475 MB, free: 6.883 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.01465, allocations: 8 kB / 475.1 MB, free: 6.875 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01466, allocations: 0 / 475.1 MB, free: 6.875 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.01468, allocations: 0 / 475.1 MB, free: 6.875 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.01522, allocations: 51.89 kB / 475.1 MB, free: 6.824 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01523, allocations: 0 / 475.1 MB, free: 6.824 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.01533, allocations: 8 kB / 475.1 MB, free: 6.816 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.01535, allocations: 3.984 kB / 475.1 MB, free: 6.812 MB / 442.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 0.0001725/0.01552, allocations: 168.6 kB / 475.3 MB, free: 6.637 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.01558, allocations: 11.89 kB / 475.3 MB, free: 6.625 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.536e-05/0.01564, allocations: 12.44 kB / 475.3 MB, free: 6.609 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01565, allocations: 0 / 475.3 MB, free: 6.609 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.01565, allocations: 4 kB / 475.3 MB, free: 6.605 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01566, allocations: 4 kB / 475.3 MB, free: 6.602 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.01594, allocations: 148.5 kB / 475.5 MB, free: 6.422 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01594, allocations: 0 / 475.5 MB, free: 6.422 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.01653, allocations: 47.95 kB / 475.5 MB, free: 6.375 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.01654, allocations: 11.88 kB / 475.5 MB, free: 6.363 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.01656, allocations: 4 kB / 475.5 MB, free: 6.359 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.01657, allocations: 3.984 kB / 475.5 MB, free: 6.355 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01657, allocations: 0 / 475.5 MB, free: 6.355 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008104/0.01738, allocations: 311.9 kB / 475.8 MB, free: 6.031 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.01741, allocations: 11.89 kB / 475.8 MB, free: 6.02 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.01744, allocations: 8.031 kB / 475.8 MB, free: 6.012 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.01759, allocations: 11.98 kB / 475.9 MB, free: 6 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.01766, allocations: 3.984 kB / 475.9 MB, free: 5.996 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.01767, allocations: 8 kB / 475.9 MB, free: 5.988 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001374/0.01781, allocations: 144.9 kB / 476 MB, free: 5.848 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.41e-07/0.01781, allocations: 0 / 476 MB, free: 5.848 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0004563/0.01827, allocations: 35.98 kB / 476 MB, free: 5.812 MB / 442.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.0003013/0.01857, allocations: 135.1 kB / 476.2 MB, free: 5.672 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0004738/0.01904, allocations: 99.58 kB / 476.3 MB, free: 5.57 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01904, allocations: 0 / 476.3 MB, free: 5.57 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.01928, allocations: 55.59 kB / 476.3 MB, free: 5.512 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.01966, allocations: 15.98 kB / 476.3 MB, free: 5.496 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006985/0.02036, allocations: 210.2 kB / 476.5 MB, free: 5.262 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.02049, allocations: 91.25 kB / 476.6 MB, free: 5.152 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 9.565e-05/0.02058, allocations: 11.98 kB / 476.7 MB, free: 5.141 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.02064, allocations: 12.5 kB / 476.7 MB, free: 5.129 MB / 442.8 MB Notification: Performance of SimCode: time 7.91e-07/0.02064, allocations: 0 / 476.7 MB, free: 5.129 MB / 442.8 MB Notification: Performance of Templates: time 0.007014/0.02766, allocations: 1.473 MB / 478.1 MB, free: 3.668 MB / 442.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 5.779392914962955]