Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.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.001242/0.001242, allocations: 75.7 kB / 21.69 MB, free: 2.844 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.001699/0.001699, allocations: 166.6 kB / 24.99 MB, free: 9.328 MB / 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.039/1.039, allocations: 177 MB / 205.2 MB, free: 5.137 MB / 186.7 MB " [Timeout remaining time 179] 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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.395e-05, allocations: 2.312 kB / 273 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.00203/0.002054, allocations: 1.569 MB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.00402, allocations: 1.433 MB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.004101, allocations: 0 / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.004224, allocations: 15.75 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.703e-05/0.004321, allocations: 27.78 kB / 276 MB, free: 14.39 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.0008509/0.005172, allocations: 410.4 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.005318, allocations: 135.6 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.005362, allocations: 5.688 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.00544, allocations: 79.73 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.005822, allocations: 75.84 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.005849, allocations: 12 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.006331, allocations: 446.9 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.006388, allocations: 43.83 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.006436, allocations: 39.84 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.006912, allocations: 430.7 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006915, allocations: 0 / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006915, allocations: 0 / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.006921, allocations: 0 / 277.7 MB, free: 12.75 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006314/0.007552, allocations: 0.5381 MB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.007587, allocations: 11.98 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.007769, allocations: 32.83 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.007913, allocations: 178.2 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.00793, allocations: 8.375 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.007951, allocations: 12.38 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.008122, allocations: 104.5 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.008129, allocations: 192 / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.008143, allocations: 4.375 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.008153, allocations: 3.938 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/0.008206, allocations: 15.98 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.008725, allocations: 0.6068 MB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.008871, allocations: 117.2 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.008913, allocations: 39.12 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.008924, allocations: 3.984 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.009118, allocations: 138.8 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.009119, allocations: 0 / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002729/0.009392, allocations: 157.5 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.009449, allocations: 118.7 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.009596, allocations: 242.8 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.009628, allocations: 53.77 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.009702, allocations: 159.3 kB / 280.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.009737, allocations: 43.69 kB / 280.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.009799, allocations: 75.28 kB / 280.3 MB, free: 9.848 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.009918, allocations: 0.5001 MB / 280.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.009982, allocations: 35.98 kB / 280.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.01006, allocations: 87.41 kB / 280.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.0102, allocations: 127.2 kB / 281.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.0102, allocations: 4 kB / 281.1 MB, free: 9.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002852/0.01049, allocations: 213.3 kB / 281.3 MB, free: 8.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.0105, allocations: 4 kB / 281.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.01051, allocations: 0 / 281.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01052, allocations: 4 kB / 281.3 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01064, allocations: 39.92 kB / 281.3 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.01065, allocations: 7.984 kB / 281.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.01069, allocations: 23.84 kB / 281.4 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.0107, allocations: 8.094 kB / 281.4 MB, free: 8.754 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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 8.748e-05/0.01079, allocations: 180.6 kB / 281.5 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.01081, allocations: 27.78 kB / 281.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.01083, allocations: 17.47 kB / 281.6 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01083, allocations: 0 / 281.6 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01084, allocations: 0 / 281.6 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01084, allocations: 7.984 kB / 281.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.01096, allocations: 152.5 kB / 281.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01096, allocations: 0 / 281.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.01098, allocations: 15.94 kB / 281.8 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01098, allocations: 0 / 281.8 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.01099, allocations: 7.938 kB / 281.8 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.01099, allocations: 0 / 281.8 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.011, allocations: 3.984 kB / 281.8 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.01117, allocations: 200 kB / 282 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.01119, allocations: 31.77 kB / 282 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.01121, allocations: 4 kB / 282 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.648e-05/0.01124, allocations: 4 kB / 282 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.0113, allocations: 15.97 kB / 282 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.0113, allocations: 8 kB / 282 MB, free: 8.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.642e-05/0.01138, allocations: 181 kB / 282.2 MB, free: 7.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01138, allocations: 0 / 282.2 MB, free: 7.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.01165, allocations: 123.6 kB / 282.3 MB, free: 7.719 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.0005558/0.0122, allocations: 360.5 kB / 282.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.01239, allocations: 112.5 kB / 282.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01239, allocations: 0 / 282.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.083e-05/0.01244, allocations: 39.61 kB / 282.8 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.0126, allocations: 20.19 kB / 282.8 MB, free: 7.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.01296, allocations: 276 kB / 283.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.013, allocations: 71.83 kB / 283.2 MB, free: 6.809 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.449e-05/0.01304, allocations: 17.48 kB / 283.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.01308, allocations: 20.48 kB / 283.2 MB, free: 6.773 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01308, allocations: 3.938 kB / 283.2 MB, free: 6.77 MB / 266.7 MB Notification: Performance of Templates: time 0.005436/0.01852, allocations: 3.739 MB / 287 MB, free: 3.039 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.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: 3.0534765019547194]