Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004253/0.004253, allocations: 141.4 kB / 25.59 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9216/0.9216, allocations: 173.4 MB / 202.2 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.519e-05, allocations: 3.312 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00191/0.001926, allocations: 1.503 MB / 270.7 MB, free: 8.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.002867, allocations: 0.5767 MB / 271.3 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.002917, allocations: 2 kB / 271.3 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.889e-05/0.003005, allocations: 7.875 kB / 271.3 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.83e-05/0.003074, allocations: 31.72 kB / 271.3 MB, free: 7.664 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.003559, allocations: 155.4 kB / 271.5 MB, free: 7.512 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.003693, allocations: 117 kB / 271.6 MB, free: 7.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.003733, allocations: 5.312 kB / 271.6 MB, free: 7.391 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.003802, allocations: 63.86 kB / 271.6 MB, free: 7.328 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.004143, allocations: 77.81 kB / 271.7 MB, free: 7.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.004175, allocations: 8 kB / 271.7 MB, free: 7.262 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.004437, allocations: 143.7 kB / 271.9 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.004486, allocations: 34.31 kB / 271.9 MB, free: 7.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.004528, allocations: 35.84 kB / 271.9 MB, free: 7.055 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.004799, allocations: 179.4 kB / 272.1 MB, free: 6.879 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.004804, allocations: 8 kB / 272.1 MB, free: 6.871 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004804, allocations: 0 / 272.1 MB, free: 6.871 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.004809, allocations: 0 / 272.1 MB, free: 6.871 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004634/0.005272, allocations: 476.5 kB / 272.6 MB, free: 6.371 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.005311, allocations: 12.03 kB / 272.6 MB, free: 6.359 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.005512, allocations: 45.28 kB / 272.6 MB, free: 6.316 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.005627, allocations: 170.1 kB / 272.8 MB, free: 6.121 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.005651, allocations: 6.406 kB / 272.8 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.005666, allocations: 8.375 kB / 272.8 MB, free: 6.109 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.005793, allocations: 84.94 kB / 272.9 MB, free: 6.012 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.005801, allocations: 0 / 272.9 MB, free: 6.012 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.00581, allocations: 0 / 272.9 MB, free: 6.012 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.005816, allocations: 9.281 kB / 272.9 MB, free: 6.004 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.00585, allocations: 19.92 kB / 272.9 MB, free: 5.984 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.006217, allocations: 316.7 kB / 273.2 MB, free: 5.645 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.006322, allocations: 91.98 kB / 273.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.006349, allocations: 23.44 kB / 273.4 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.006355, allocations: 0 / 273.4 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.006479, allocations: 124.2 kB / 273.5 MB, free: 5.355 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 7.41e-07/0.00648, allocations: 0.5 kB / 273.5 MB, free: 5.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.00021/0.00669, allocations: 138 kB / 273.6 MB, free: 5.215 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.006739, allocations: 93.03 kB / 273.7 MB, free: 5.105 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.006847, allocations: 225.8 kB / 273.9 MB, free: 4.867 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.006873, allocations: 49.69 kB / 274 MB, free: 4.812 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.006929, allocations: 147.3 kB / 274.1 MB, free: 4.664 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.006963, allocations: 47.7 kB / 274.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.007025, allocations: 63.55 kB / 274.2 MB, free: 4.543 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.007136, allocations: 0.504 MB / 274.7 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.007179, allocations: 24.5 kB / 274.8 MB, free: 4 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.747e-05/0.007236, allocations: 68.03 kB / 274.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.945e-05/0.007336, allocations: 115.4 kB / 274.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007338, allocations: 0 / 274.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001706/0.007508, allocations: 165.9 kB / 275.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.007521, allocations: 4 kB / 275.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.007525, allocations: 0 / 275.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.567e-06/0.007534, allocations: 4 kB / 275.1 MB, free: 3.617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.007649, allocations: 43.91 kB / 275.1 MB, free: 3.574 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.007653, allocations: 4 kB / 275.2 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.007693, allocations: 23.88 kB / 275.2 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.007705, allocations: 12.06 kB / 275.2 MB, free: 3.535 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001052/0.00781, allocations: 184.4 kB / 275.4 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.00783, allocations: 15.91 kB / 275.4 MB, free: 3.328 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.007856, allocations: 17.45 kB / 275.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007858, allocations: 0 / 275.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.007863, allocations: 4 kB / 275.4 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.007867, allocations: 0 / 275.4 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.007978, allocations: 133.1 kB / 275.5 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.007981, allocations: 7.938 kB / 275.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.007998, allocations: 4 kB / 275.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.007999, allocations: 0 / 275.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.00801, allocations: 8 kB / 275.6 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.008012, allocations: 3.984 kB / 275.6 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.008014, allocations: 3.984 kB / 275.6 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.008168, allocations: 166.8 kB / 275.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.008188, allocations: 23.86 kB / 275.7 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.008211, allocations: 15.98 kB / 275.8 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.276e-05/0.008234, allocations: 0 / 275.8 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.008275, allocations: 7.984 kB / 275.8 MB, free: 2.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.008289, allocations: 15.98 kB / 275.8 MB, free: 2.871 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.178e-05/0.008351, allocations: 160.1 kB / 275.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008351, allocations: 3.938 kB / 275.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.008571, allocations: 43.94 kB / 276 MB, free: 2.668 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003367/0.008908, allocations: 209.3 kB / 276.2 MB, free: 2.488 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.009065, allocations: 95.5 kB / 276.3 MB, free: 2.391 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.009067, allocations: 4 kB / 276.3 MB, free: 2.387 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/0.009107, allocations: 31.67 kB / 276.3 MB, free: 2.352 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.009266, allocations: 23.86 kB / 276.3 MB, free: 2.328 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.009602, allocations: 249.9 kB / 276.6 MB, free: 2.055 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.058e-05/0.009643, allocations: 67.34 kB / 276.7 MB, free: 1.969 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.305e-05/0.009686, allocations: 17.03 kB / 276.7 MB, free: 1.949 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.009756, allocations: 86.19 kB / 276.8 MB, free: 1.863 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009757, allocations: 0 / 276.8 MB, free: 1.863 MB / 250.7 MB Notification: Performance of Templates: time 0.004827/0.01458, allocations: 2.484 MB / 279.2 MB, free: 15.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8347020619548857]