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.0008381/0.0008381, allocations: 84 kB / 21.43 MB, free: 3.121 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.003474/0.003474, allocations: 150 kB / 24.68 MB, free: 8.91 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.8556/0.8556, allocations: 173.4 MB / 201.2 MB, free: 9.438 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.473e-06/1.473e-06, allocations: 3.938 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.708e-05, allocations: 2.281 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001718/0.001735, allocations: 1.465 MB / 321.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008197/0.002555, allocations: 0.5612 MB / 321.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.002597, allocations: 0 / 321.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.94e-05/0.002687, allocations: 7.875 kB / 321.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.002747, allocations: 23.73 kB / 321.7 MB, free: 3.777 MB / 282.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.0004296/0.003176, allocations: 155.3 kB / 321.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.003298, allocations: 115.6 kB / 322 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.00334, allocations: 13.3 kB / 322 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.676e-05/0.003407, allocations: 67.86 kB / 322.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.003793, allocations: 63.31 kB / 322.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.432e-05/0.003857, allocations: 12 kB / 322.2 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.004045, allocations: 143.7 kB / 322.3 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.004089, allocations: 31.91 kB / 322.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.004131, allocations: 35.86 kB / 322.4 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.004382, allocations: 215.4 kB / 322.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.004384, allocations: 0 / 322.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004384, allocations: 3.938 kB / 322.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004389, allocations: 0 / 322.6 MB, free: 2.938 MB / 282.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.0004612/0.00485, allocations: 384.7 kB / 323 MB, free: 2.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.004883, allocations: 8.922 kB / 323 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.005063, allocations: 40.81 kB / 323 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.005192, allocations: 149.5 kB / 323.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.00521, allocations: 4.375 kB / 323.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.005227, allocations: 12.36 kB / 323.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.005387, allocations: 118.8 kB / 323.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.005395, allocations: 0 / 323.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.005405, allocations: 4 kB / 323.3 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.005409, allocations: 4 kB / 323.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.005511, allocations: 59.89 kB / 323.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.005945, allocations: 293.2 kB / 323.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.006117, allocations: 121.1 kB / 323.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.982e-05/0.006177, allocations: 53.75 kB / 323.8 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.006185, allocations: 0 / 323.8 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.006344, allocations: 148.9 kB / 324 MB, free: 1.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 9.62e-07/0.006345, allocations: 0 / 324 MB, free: 1.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.000329/0.006674, allocations: 229.6 kB / 324.2 MB, free: 1.199 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.006722, allocations: 93.09 kB / 324.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.00683, allocations: 174.2 kB / 324.4 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.006857, allocations: 49.7 kB / 324.5 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.006931, allocations: 108.6 kB / 324.6 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.006962, allocations: 43.67 kB / 324.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.007018, allocations: 53.92 kB / 324.7 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.007103, allocations: 334.8 kB / 325 MB, free: 312 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.00721, allocations: 100.4 kB / 325.1 MB, free: 208 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.007325, allocations: 128.4 kB / 325.2 MB, free: 72 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.007613, allocations: 214.9 kB / 325.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.007616, allocations: 0 / 325.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002825/0.007899, allocations: 293.4 kB / 325.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.007912, allocations: 10.75 kB / 325.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.007919, allocations: 4 kB / 325.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.007933, allocations: 4 kB / 325.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.008014, allocations: 27.92 kB / 325.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.008021, allocations: 64 / 325.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.008061, allocations: 27.88 kB / 325.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.008074, allocations: 11.98 kB / 325.8 MB, free: 15.48 MB / 298.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,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 9.212e-05/0.008166, allocations: 153.8 kB / 326 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.008181, allocations: 11.91 kB / 326 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.008209, allocations: 13.47 kB / 326 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.008211, allocations: 0 / 326 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.008217, allocations: 4 kB / 326 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.008222, allocations: 3.984 kB / 326 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.008322, allocations: 145.2 kB / 326.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008323, allocations: 0 / 326.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.008343, allocations: 7.984 kB / 326.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.008345, allocations: 0 / 326.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.008353, allocations: 4 kB / 326.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008355, allocations: 0 / 326.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.008356, allocations: 0 / 326.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.008565, allocations: 229.6 kB / 326.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.008581, allocations: 11.91 kB / 326.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.008603, allocations: 15.98 kB / 326.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.008626, allocations: 4 kB / 326.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.008669, allocations: 11.98 kB / 326.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.008677, allocations: 7.984 kB / 326.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.369e-05/0.00874, allocations: 128.2 kB / 326.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00874, allocations: 0 / 326.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.008921, allocations: 47.88 kB / 326.6 MB, free: 14.63 MB / 298.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.0002987/0.00922, allocations: 208.1 kB / 326.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.009477, allocations: 188.5 kB / 327 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.009479, allocations: 0 / 327 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.978e-05/0.009549, allocations: 60.03 kB / 327.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.009669, allocations: 11.94 kB / 327.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.01003, allocations: 264.9 kB / 327.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.444e-05/0.01011, allocations: 97.77 kB / 327.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.01014, allocations: 24.44 kB / 327.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01014, allocations: 0 / 327.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of Templates: time 0.003091/0.01323, allocations: 2.371 MB / 329.8 MB, free: 11.39 MB / 298.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=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.686284400522709]