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.008514/0.008514, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0008401/0.0008401, allocations: 86.98 kB / 25.62 MB, free: 6.535 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.0009267/0.0009267, allocations: 165.9 kB / 29.46 MB, free: 3.035 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.9001/0.9001, allocations: 177.1 MB / 210.3 MB, free: 1.75 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.7266/0.7266, allocations: 102.4 MB / 369.8 MB, free: 0.9531 MB / 330.8 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.072e-06/1.072e-06, allocations: 0 / 469.8 MB, free: 12.99 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.677e-05, allocations: 10.31 kB / 469.9 MB, free: 12.98 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.001957/0.001973, allocations: 2.19 MB / 472 MB, free: 10.78 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005619/0.002535, allocations: 422.4 kB / 472.5 MB, free: 10.36 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.002587, allocations: 4 kB / 472.5 MB, free: 10.36 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.117e-05/0.002678, allocations: 11.88 kB / 472.5 MB, free: 10.35 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.002714, allocations: 11.86 kB / 472.5 MB, free: 10.34 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.003129, allocations: 143.5 kB / 472.6 MB, free: 10.2 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.003244, allocations: 79.77 kB / 472.7 MB, free: 10.12 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.081e-05/0.003325, allocations: 11.92 kB / 472.7 MB, free: 10.11 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.003392, allocations: 39.97 kB / 472.8 MB, free: 10.07 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.13e-05/0.003453, allocations: 39.88 kB / 472.8 MB, free: 10.03 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.003469, allocations: 8 kB / 472.8 MB, free: 10.02 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.003607, allocations: 83.86 kB / 472.9 MB, free: 9.938 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.003661, allocations: 31.91 kB / 472.9 MB, free: 9.906 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.003695, allocations: 23.92 kB / 472.9 MB, free: 9.883 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.003863, allocations: 127.6 kB / 473.1 MB, free: 9.758 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003865, allocations: 0 / 473.1 MB, free: 9.758 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003866, allocations: 0 / 473.1 MB, free: 9.758 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.003869, allocations: 0 / 473.1 MB, free: 9.758 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.0004371/0.004306, allocations: 432.2 kB / 473.5 MB, free: 9.297 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.004336, allocations: 12.03 kB / 473.5 MB, free: 9.285 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.004378, allocations: 16.84 kB / 473.5 MB, free: 9.27 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.004511, allocations: 144.4 kB / 473.7 MB, free: 9.102 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.004556, allocations: 34.27 kB / 473.7 MB, free: 9.062 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.004577, allocations: 4.375 kB / 473.7 MB, free: 9.059 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.004729, allocations: 94.84 kB / 473.8 MB, free: 8.957 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.004735, allocations: 192 / 473.8 MB, free: 8.957 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.004745, allocations: 384 / 473.8 MB, free: 8.957 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.004751, allocations: 4.125 kB / 473.8 MB, free: 8.953 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.881e-05/0.00482, allocations: 35.91 kB / 473.8 MB, free: 8.918 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.005148, allocations: 315.7 kB / 474.1 MB, free: 8.574 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.679e-05/0.005235, allocations: 55.05 kB / 474.2 MB, free: 8.508 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.005277, allocations: 31.75 kB / 474.2 MB, free: 8.473 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.005297, allocations: 7.922 kB / 474.2 MB, free: 8.465 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.005317, allocations: 37.39 kB / 474.3 MB, free: 8.418 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.005317, allocations: 0 / 474.3 MB, free: 8.418 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.000195/0.005512, allocations: 97.61 kB / 474.4 MB, free: 8.316 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.005538, allocations: 51.41 kB / 474.4 MB, free: 8.254 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/0.00562, allocations: 185.8 kB / 474.6 MB, free: 8.055 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.005631, allocations: 25.7 kB / 474.6 MB, free: 8.023 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.005677, allocations: 146.9 kB / 474.8 MB, free: 7.875 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.005704, allocations: 31.7 kB / 474.8 MB, free: 7.844 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.005739, allocations: 31.36 kB / 474.8 MB, free: 7.805 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.005845, allocations: 0.4923 MB / 475.3 MB, free: 7.301 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.242e-05/0.005878, allocations: 15.94 kB / 475.3 MB, free: 7.285 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.005907, allocations: 16.09 kB / 475.3 MB, free: 7.27 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.876e-05/0.005976, allocations: 59.73 kB / 475.4 MB, free: 7.207 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005978, allocations: 0 / 475.4 MB, free: 7.207 MB / 442.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001012/0.006079, allocations: 89.52 kB / 475.5 MB, free: 7.113 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.006092, allocations: 4 kB / 475.5 MB, free: 7.109 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.006096, allocations: 4 kB / 475.5 MB, free: 7.105 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.006106, allocations: 4 kB / 475.5 MB, free: 7.102 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.006294, allocations: 47.95 kB / 475.5 MB, free: 7.055 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.006297, allocations: 0 / 475.5 MB, free: 7.055 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.006332, allocations: 11.98 kB / 475.6 MB, free: 7.043 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.006338, allocations: 4 kB / 475.6 MB, free: 7.039 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 6.484e-05/0.006403, allocations: 164.5 kB / 475.7 MB, free: 6.867 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.006423, allocations: 15.89 kB / 475.7 MB, free: 6.852 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.006454, allocations: 12.42 kB / 475.8 MB, free: 6.84 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006456, allocations: 4 kB / 475.8 MB, free: 6.836 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.006458, allocations: 0 / 475.8 MB, free: 6.836 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006461, allocations: 0 / 475.8 MB, free: 6.836 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.006567, allocations: 136.6 kB / 475.9 MB, free: 6.668 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006568, allocations: 0 / 475.9 MB, free: 6.668 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.006749, allocations: 51.95 kB / 475.9 MB, free: 6.617 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006751, allocations: 3.938 kB / 475.9 MB, free: 6.613 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.00676, allocations: 4 kB / 475.9 MB, free: 6.609 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.006761, allocations: 4 kB / 476 MB, free: 6.605 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006762, allocations: 0 / 476 MB, free: 6.605 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.006955, allocations: 247.8 kB / 476.2 MB, free: 6.344 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.006965, allocations: 11.83 kB / 476.2 MB, free: 6.332 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.00698, allocations: 11.98 kB / 476.2 MB, free: 6.32 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.081e-05/0.007031, allocations: 4 kB / 476.2 MB, free: 6.316 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.00707, allocations: 7.984 kB / 476.2 MB, free: 6.309 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.007075, allocations: 4 kB / 476.2 MB, free: 6.305 MB / 442.8 MB Notification: Performance of sorting global known variables: time 4.464e-05/0.00712, allocations: 142 kB / 476.4 MB, free: 6.168 MB / 442.8 MB Notification: Performance of sort global known variables: time 6e-08/0.00712, allocations: 4.031 kB / 476.4 MB, free: 6.164 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001823/0.007302, allocations: 31.92 kB / 476.4 MB, free: 6.133 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.0001356/0.007438, allocations: 127.2 kB / 476.5 MB, free: 6 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.007557, allocations: 55.55 kB / 476.6 MB, free: 5.941 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007559, allocations: 0 / 476.6 MB, free: 5.941 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.007601, allocations: 35.61 kB / 476.6 MB, free: 5.902 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.007775, allocations: 14.56 kB / 476.6 MB, free: 5.891 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.008092, allocations: 210.2 kB / 476.8 MB, free: 5.656 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.587e-05/0.008128, allocations: 63.34 kB / 476.9 MB, free: 5.574 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 3.987e-05/0.008168, allocations: 12.53 kB / 476.9 MB, free: 5.562 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.0082, allocations: 20.48 kB / 476.9 MB, free: 5.543 MB / 442.8 MB Notification: Performance of SimCode: time 9.02e-07/0.008201, allocations: 0 / 476.9 MB, free: 5.543 MB / 442.8 MB Notification: Performance of Templates: time 0.0029/0.0111, allocations: 1.477 MB / 478.4 MB, free: 4.078 MB / 442.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.525414084782824]