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.000966/0.000966, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001089/0.001089, allocations: 145.7 kB / 24.89 MB, free: 8.742 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.8851/0.8851, allocations: 173.4 MB / 201.5 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.483e-06/1.483e-06, allocations: 0 / 268.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.5e-05, allocations: 11.19 kB / 268.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001807/0.001822, allocations: 1.49 MB / 270 MB, free: 8.301 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.002874, allocations: 0.5941 MB / 270.6 MB, free: 7.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.002919, allocations: 4 kB / 270.6 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.003022, allocations: 15.81 kB / 270.6 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.438e-05/0.003086, allocations: 15.84 kB / 270.6 MB, free: 7.672 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.0004794/0.003565, allocations: 152.3 kB / 270.7 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.003689, allocations: 111.7 kB / 270.9 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.00373, allocations: 16.36 kB / 270.9 MB, free: 7.398 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.9e-05/0.003799, allocations: 63.88 kB / 270.9 MB, free: 7.336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.004128, allocations: 80.33 kB / 271 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.004152, allocations: 8 kB / 271 MB, free: 7.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.004368, allocations: 151.6 kB / 271.2 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.004415, allocations: 35.84 kB / 271.2 MB, free: 7.086 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.00445, allocations: 27.92 kB / 271.2 MB, free: 7.059 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.00468, allocations: 188.1 kB / 271.4 MB, free: 6.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004682, allocations: 1.656 kB / 271.4 MB, free: 6.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004682, allocations: 0 / 271.4 MB, free: 6.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.004686, allocations: 0 / 271.4 MB, free: 6.875 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.0003743/0.00506, allocations: 351.9 kB / 271.8 MB, free: 6.508 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.005089, allocations: 12.03 kB / 271.8 MB, free: 6.496 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.005327, allocations: 54.03 kB / 271.8 MB, free: 6.445 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.00543, allocations: 154.7 kB / 272 MB, free: 6.266 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.005447, allocations: 4.906 kB / 272 MB, free: 6.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.005461, allocations: 9.047 kB / 272 MB, free: 6.254 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.005569, allocations: 82.12 kB / 272.1 MB, free: 6.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.005575, allocations: 1.125 kB / 272.1 MB, free: 6.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.005583, allocations: 3.938 kB / 272.1 MB, free: 6.156 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.005587, allocations: 0 / 272.1 MB, free: 6.156 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.39e-05/0.005621, allocations: 26.89 kB / 272.1 MB, free: 6.129 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.005906, allocations: 207.5 kB / 272.3 MB, free: 5.906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.498e-05/0.006001, allocations: 114 kB / 272.4 MB, free: 5.777 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.006025, allocations: 21.66 kB / 272.4 MB, free: 5.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.006033, allocations: 8.703 kB / 272.4 MB, free: 5.742 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.856e-05/0.006132, allocations: 106.9 kB / 272.5 MB, free: 5.621 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 7.31e-07/0.006133, allocations: 1.938 kB / 272.5 MB, free: 5.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001331/0.006266, allocations: 99.77 kB / 272.6 MB, free: 5.516 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.006309, allocations: 97.03 kB / 272.7 MB, free: 5.402 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.006437, allocations: 162.6 kB / 272.9 MB, free: 5.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.006468, allocations: 41.69 kB / 272.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.006511, allocations: 109 kB / 273 MB, free: 5.074 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.006539, allocations: 39.72 kB / 273.1 MB, free: 5.035 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.006595, allocations: 61.83 kB / 273.1 MB, free: 4.965 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.00667, allocations: 330.8 kB / 273.5 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.845e-05/0.006718, allocations: 35.33 kB / 273.5 MB, free: 4.594 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.527e-05/0.006764, allocations: 51.58 kB / 273.6 MB, free: 4.535 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.086e-05/0.006855, allocations: 108.5 kB / 273.7 MB, free: 4.414 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006857, allocations: 0 / 273.7 MB, free: 4.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001344/0.006991, allocations: 140.9 kB / 273.8 MB, free: 4.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.007001, allocations: 8.062 kB / 273.8 MB, free: 4.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.007006, allocations: 0 / 273.8 MB, free: 4.262 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.007019, allocations: 4 kB / 273.8 MB, free: 4.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.007124, allocations: 43.92 kB / 273.9 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.007128, allocations: 3.984 kB / 273.9 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.007166, allocations: 27.81 kB / 273.9 MB, free: 4.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.007175, allocations: 0 / 273.9 MB, free: 4.184 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 7.88e-05/0.007254, allocations: 144.5 kB / 274 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.007268, allocations: 15.98 kB / 274 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.007294, allocations: 13.47 kB / 274.1 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.007298, allocations: 7.984 kB / 274.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.0073, allocations: 0 / 274.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007303, allocations: 0 / 274.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.813e-05/0.007391, allocations: 89.81 kB / 274.1 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007392, allocations: 0 / 274.1 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.007409, allocations: 11.92 kB / 274.2 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007411, allocations: 4 kB / 274.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.007416, allocations: 0 / 274.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007417, allocations: 0 / 274.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.007418, allocations: 4 kB / 274.2 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.396e-05/0.007512, allocations: 126.3 kB / 274.3 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.007525, allocations: 15.84 kB / 274.3 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.007542, allocations: 12 kB / 274.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/0.007563, allocations: 7.984 kB / 274.3 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.007591, allocations: 8.078 kB / 274.3 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.007596, allocations: 0 / 274.3 MB, free: 3.676 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.22e-05/0.007628, allocations: 49.81 kB / 274.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007628, allocations: 0 / 274.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000147/0.007775, allocations: 47.92 kB / 274.4 MB, free: 3.578 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.0003241/0.008099, allocations: 221.7 kB / 274.6 MB, free: 3.398 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.008222, allocations: 92.75 kB / 274.7 MB, free: 3.305 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.008225, allocations: 4 kB / 274.7 MB, free: 3.301 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.008258, allocations: 31.78 kB / 274.8 MB, free: 3.27 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.642e-05/0.008355, allocations: 19.92 kB / 274.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.008617, allocations: 237.9 kB / 275 MB, free: 2.988 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.008651, allocations: 71.33 kB / 275.1 MB, free: 2.898 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.714e-05/0.008688, allocations: 17.03 kB / 275.1 MB, free: 2.879 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.008739, allocations: 63.38 kB / 275.2 MB, free: 2.816 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00874, allocations: 4.062 kB / 275.2 MB, free: 2.812 MB / 250.7 MB Notification: Performance of Templates: time 0.003613/0.01235, allocations: 2.362 MB / 277.5 MB, free: 488 kB / 250.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.5696198302321136]