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.001399/0.001399, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001416/0.001416, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 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.538/1.538, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 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 1.904e-06/1.904e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.336e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003817/0.003851, allocations: 1.489 MB / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.005337, allocations: 0.5685 MB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.005409, allocations: 4 kB / 274.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.005526, allocations: 11.81 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.00562, allocations: 15.86 kB / 274.3 MB, free: 15.71 MB / 266.7 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.0007564/0.006377, allocations: 159.4 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.006594, allocations: 119.6 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.006643, allocations: 9.25 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.006775, allocations: 63.88 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007637/0.007539, allocations: 63.72 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.007592, allocations: 12 kB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.007958, allocations: 143.7 kB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.008036, allocations: 35.84 kB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.791e-05/0.008114, allocations: 35.91 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005884/0.008703, allocations: 215.3 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.008714, allocations: 4 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.008716, allocations: 0 / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.00873, allocations: 0 / 275.1 MB, free: 14.88 MB / 266.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.001278/0.01001, allocations: 381.4 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.828e-05/0.0101, allocations: 11.98 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005483/0.01064, allocations: 44.75 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.01095, allocations: 145.5 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.01099, allocations: 8.375 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.01102, allocations: 12.38 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.0114, allocations: 111.9 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.01142, allocations: 192 / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.01144, allocations: 384 / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.01145, allocations: 8.297 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.01172, allocations: 63.89 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008825/0.0126, allocations: 289.2 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.01297, allocations: 125.1 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.01312, allocations: 53.69 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.01314, allocations: 4 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/0.01351, allocations: 140 kB / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.01351, allocations: 0 / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006531/0.01416, allocations: 253.5 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.159e-05/0.01425, allocations: 85.11 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.01452, allocations: 186.2 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/0.01458, allocations: 49.69 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.01469, allocations: 100.6 kB / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/0.01475, allocations: 43.69 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.0149, allocations: 61.92 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.01512, allocations: 330.8 kB / 277.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.01533, allocations: 96.47 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.0156, allocations: 136 kB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.01601, allocations: 203 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01602, allocations: 0 / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005792/0.01659, allocations: 301.3 kB / 278.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.01662, allocations: 12.06 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.01663, allocations: 480 / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.01665, allocations: 0 / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.01683, allocations: 35.91 kB / 278.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.01684, allocations: 4 kB / 278.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.889e-05/0.01693, allocations: 23.78 kB / 278.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.01695, allocations: 8 kB / 278.4 MB, free: 11.39 MB / 266.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 0.0001833/0.01713, allocations: 141.8 kB / 278.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.01718, allocations: 27.84 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.01722, allocations: 17.45 kB / 278.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.01722, allocations: 0 / 278.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.01723, allocations: 4 kB / 278.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01723, allocations: 96 / 278.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.01748, allocations: 149.2 kB / 278.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01748, allocations: 0 / 278.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.01752, allocations: 4 kB / 278.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.01753, allocations: 4 kB / 278.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.01755, allocations: 7.922 kB / 278.7 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01755, allocations: 4 kB / 278.7 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.01755, allocations: 7.922 kB / 278.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.01804, allocations: 213.8 kB / 279 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.01808, allocations: 23.84 kB / 279 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.01812, allocations: 11.94 kB / 279 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.01818, allocations: 7.984 kB / 279 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.01827, allocations: 15.98 kB / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.01827, allocations: 0 / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.01841, allocations: 127.2 kB / 279.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01841, allocations: 4 kB / 279.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.01874, allocations: 47.94 kB / 279.2 MB, free: 10.53 MB / 266.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.000699/0.01944, allocations: 215.3 kB / 279.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.01989, allocations: 171.8 kB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01989, allocations: 0 / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.02003, allocations: 51.91 kB / 279.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.02028, allocations: 15.98 kB / 279.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.02091, allocations: 265.4 kB / 279.9 MB, free: 9.812 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.02105, allocations: 97.89 kB / 280 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.286e-05/0.02111, allocations: 17.05 kB / 280 MB, free: 9.676 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.02116, allocations: 16.5 kB / 280 MB, free: 9.66 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02116, allocations: 0 / 280 MB, free: 9.66 MB / 266.7 MB Notification: Performance of Templates: time 0.007137/0.0283, allocations: 2.226 MB / 282.2 MB, free: 7.445 MB / 266.7 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.478484982973896]