Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001487, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001608/0.001608, allocations: 210.8 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.89 kB / 378.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3195, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003392/0.3229, allocations: 1.476 MB / 433.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3244, allocations: 0.5724 MB / 433.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.3245, allocations: 0 / 433.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.3246, allocations: 11.86 kB / 433.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.254e-05/0.3247, allocations: 23.81 kB / 433.7 MB, free: 4.43 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0007155/0.3254, allocations: 143.6 kB / 433.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.3256, allocations: 115.7 kB / 434 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.685e-05/0.3256, allocations: 13.09 kB / 434 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.3257, allocations: 55.7 kB / 434 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006562/0.3264, allocations: 64.75 kB / 434.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.3264, allocations: 8 kB / 434.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.3267, allocations: 143.8 kB / 434.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.3268, allocations: 31.89 kB / 434.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.3269, allocations: 47.73 kB / 434.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.3272, allocations: 197.7 kB / 434.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3273, allocations: 4 kB / 434.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3273, allocations: 0 / 434.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3273, allocations: 0 / 434.5 MB, free: 3.633 MB / 334.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.0007556/0.328, allocations: 381.4 kB / 434.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3281, allocations: 11.98 kB / 434.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.3284, allocations: 40.81 kB / 434.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.3286, allocations: 143 kB / 435.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.3286, allocations: 16.31 kB / 435.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3286, allocations: 8.375 kB / 435.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.3289, allocations: 111.9 kB / 435.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3289, allocations: 192 / 435.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3289, allocations: 3.938 kB / 435.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3289, allocations: 0 / 435.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.3291, allocations: 55.89 kB / 435.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006568/0.3297, allocations: 301.2 kB / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.3301, allocations: 125 kB / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.3302, allocations: 45.77 kB / 435.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3302, allocations: 3.938 kB / 435.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/0.3305, allocations: 149.1 kB / 435.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 3.296e-06/0.3305, allocations: 7.984 kB / 435.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005842/0.3311, allocations: 237.4 kB / 436.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.3312, allocations: 93.09 kB / 436.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.3314, allocations: 178.2 kB / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.3314, allocations: 45.69 kB / 436.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.3315, allocations: 104.6 kB / 436.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.3315, allocations: 43.69 kB / 436.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.141e-05/0.3316, allocations: 57.92 kB / 436.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3318, allocations: 326.8 kB / 437 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.332, allocations: 104.5 kB / 437.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.3322, allocations: 129.4 kB / 437.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.3326, allocations: 202.9 kB / 437.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3326, allocations: 3.938 kB / 437.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005429/0.3331, allocations: 301.5 kB / 437.7 MB, free: 244 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3332, allocations: 4 kB / 437.7 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3332, allocations: 4 kB / 437.7 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3332, allocations: 0 / 437.7 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.3333, allocations: 27.92 kB / 437.7 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3333, allocations: 4 kB / 437.7 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.3334, allocations: 27.77 kB / 437.8 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.3335, allocations: 8 kB / 437.8 MB, free: 168 kB / 334.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.0001626/0.3336, allocations: 154.4 kB / 437.9 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.3337, allocations: 16.09 kB / 437.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.3337, allocations: 9.406 kB / 437.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3337, allocations: 4 kB / 437.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3337, allocations: 0 / 437.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3337, allocations: 3.984 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.3339, allocations: 141 kB / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3339, allocations: 0 / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.334, allocations: 11.98 kB / 438.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.334, allocations: 3.938 kB / 438.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.334, allocations: 4 kB / 438.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.334, allocations: 0 / 438.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.334, allocations: 4 kB / 438.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.3344, allocations: 224.8 kB / 438.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.3344, allocations: 15.84 kB / 438.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.3344, allocations: 19.98 kB / 438.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.3345, allocations: 4 kB / 438.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.3345, allocations: 11.97 kB / 438.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-06/0.3345, allocations: 4 kB / 438.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.3347, allocations: 132.2 kB / 438.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3347, allocations: 0 / 438.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.3349, allocations: 47.92 kB / 438.6 MB, free: 15.31 MB / 350.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.0005164/0.3355, allocations: 205 kB / 438.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.3359, allocations: 178.7 kB / 438.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3359, allocations: 0 / 438.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.336, allocations: 59.89 kB / 439 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.3362, allocations: 11.94 kB / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.3368, allocations: 239.9 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.3369, allocations: 101.9 kB / 439.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.3369, allocations: 20.95 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.337, allocations: 19.44 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.337, allocations: 0 / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Templates: time 0.005659/0.3426, allocations: 2.093 MB / 441.5 MB, free: 12.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.767203472554684]