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.001765/0.001765, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001767/0.001767, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.451/1.451, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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 2.174e-06/2.174e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.15e-05/4.367e-05, allocations: 2.281 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003173/0.003216, allocations: 1.458 MB / 320.4 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.004591, allocations: 0.5703 MB / 321 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.004658, allocations: 0 / 321 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.004791, allocations: 9.469 kB / 321 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.004879, allocations: 24.81 kB / 321 MB, free: 2.168 MB / 286.1 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.0007674/0.005646, allocations: 153.7 kB / 321.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.005884, allocations: 117.2 kB / 321.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.129e-05/0.005945, allocations: 4.906 kB / 321.3 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.006093, allocations: 68.33 kB / 321.3 MB, free: 2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009224/0.007016, allocations: 64.48 kB / 321.4 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.007057, allocations: 9.406 kB / 321.4 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.007441, allocations: 143.2 kB / 321.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.00753, allocations: 33.03 kB / 321.6 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.521e-05/0.007615, allocations: 44.36 kB / 321.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.008125, allocations: 208.7 kB / 321.8 MB, free: 1.816 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.008131, allocations: 0 / 321.8 MB, free: 1.816 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.008132, allocations: 0 / 321.8 MB, free: 1.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.008141, allocations: 1.5 kB / 321.8 MB, free: 1.816 MB / 286.1 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.0008743/0.009015, allocations: 389.4 kB / 322.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/0.009082, allocations: 11.36 kB / 322.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/0.009508, allocations: 38.36 kB / 322.2 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.009682, allocations: 148 kB / 322.4 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.009715, allocations: 8.25 kB / 322.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.009742, allocations: 6.625 kB / 322.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.01005, allocations: 112.7 kB / 322.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.01007, allocations: 0.75 kB / 322.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.01009, allocations: 1.156 kB / 322.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.0101, allocations: 5.156 kB / 322.5 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.01033, allocations: 65.45 kB / 322.6 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007415/0.01107, allocations: 288.8 kB / 322.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.01141, allocations: 122.1 kB / 323 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.01152, allocations: 52.08 kB / 323 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.01154, allocations: 1.656 kB / 323 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.01181, allocations: 140.5 kB / 323.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.01181, allocations: 2 kB / 323.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005848/0.0124, allocations: 233.2 kB / 323.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.01246, allocations: 96.84 kB / 323.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.01262, allocations: 181.3 kB / 323.7 MB, free: 480 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.01266, allocations: 56.42 kB / 323.7 MB, free: 432 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.01272, allocations: 104.4 kB / 323.8 MB, free: 332 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.01276, allocations: 43.27 kB / 323.9 MB, free: 300 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.01284, allocations: 54.66 kB / 323.9 MB, free: 264 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.01296, allocations: 333.1 kB / 324.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.01316, allocations: 96.73 kB / 324.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.0134, allocations: 134.3 kB / 324.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.01381, allocations: 215.3 kB / 324.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01381, allocations: 0 / 324.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005774/0.01439, allocations: 294.1 kB / 325 MB, free: 15.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.01441, allocations: 5.5 kB / 325 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.01442, allocations: 6.344 kB / 325 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.01444, allocations: 1.375 kB / 325 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.01463, allocations: 25.45 kB / 325 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.01465, allocations: 13.31 kB / 325 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.025e-05/0.01474, allocations: 20.31 kB / 325 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.01476, allocations: 10.25 kB / 325.1 MB, free: 15.6 MB / 302.1 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,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,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.0001757/0.01494, allocations: 147.3 kB / 325.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.01497, allocations: 13.97 kB / 325.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.01501, allocations: 13.72 kB / 325.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.01501, allocations: 1.375 kB / 325.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.01502, allocations: 2.219 kB / 325.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.01502, allocations: 4 kB / 325.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.01521, allocations: 143.3 kB / 325.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01522, allocations: 1.375 kB / 325.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.01527, allocations: 15.5 kB / 325.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01527, allocations: 1.375 kB / 325.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.0153, allocations: 6.969 kB / 325.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.0153, allocations: 1.375 kB / 325.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0153, allocations: 0 / 325.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.01572, allocations: 220.2 kB / 325.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.01575, allocations: 17.94 kB / 325.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.0158, allocations: 8.688 kB / 325.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.01586, allocations: 8.594 kB / 325.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.01593, allocations: 15.36 kB / 325.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.01594, allocations: 3.344 kB / 325.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.01608, allocations: 130.7 kB / 325.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01608, allocations: 0 / 325.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.01646, allocations: 48.91 kB / 325.8 MB, free: 15.05 MB / 302.1 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.0005882/0.01704, allocations: 213.6 kB / 326.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004432/0.01749, allocations: 178.3 kB / 326.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01749, allocations: 4.125 kB / 326.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.01766, allocations: 54.66 kB / 326.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.01786, allocations: 15.67 kB / 326.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.01848, allocations: 245.9 kB / 326.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.01861, allocations: 99.31 kB / 326.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.733e-05/0.01868, allocations: 17.23 kB / 326.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.01873, allocations: 19.92 kB / 326.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01873, allocations: 0 / 326.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of Templates: time 0.007774/0.02651, allocations: 2.058 MB / 328.7 MB, free: 14.3 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.489042818546295]