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.00133/0.00133, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001471/0.001471, allocations: 162 kB / 25.61 MB, free: 8.578 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.011/1.011, allocations: 177 MB / 205.9 MB, free: 4.445 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.473e-06/1.473e-06, allocations: 0 / 274.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.379e-05, allocations: 6.359 kB / 274.1 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.001675/0.001688, allocations: 1.562 MB / 275.7 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.003331, allocations: 1.424 MB / 277.1 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.003387, allocations: 4 kB / 277.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.143e-05/0.003468, allocations: 11.81 kB / 277.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.921e-05/0.003548, allocations: 29.75 kB / 277.2 MB, free: 1.309 MB / 250.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.0006903/0.004238, allocations: 414.4 kB / 277.6 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.004369, allocations: 135.5 kB / 277.7 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.004409, allocations: 9.672 kB / 277.7 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.497e-05/0.004494, allocations: 71.81 kB / 277.8 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.004811, allocations: 79.03 kB / 277.9 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.004834, allocations: 12 kB / 277.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004584/0.005292, allocations: 450.9 kB / 278.3 MB, free: 176 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.005339, allocations: 31.84 kB / 278.3 MB, free: 144 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.005381, allocations: 47.83 kB / 278.4 MB, free: 96 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.005844, allocations: 430.7 kB / 278.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005846, allocations: 4 kB / 278.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.005847, allocations: 0 / 278.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005851, allocations: 0 / 278.8 MB, free: 15.67 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.0005157/0.006367, allocations: 0.5381 MB / 279.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.006399, allocations: 8.031 kB / 279.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.006547, allocations: 32.83 kB / 279.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.006663, allocations: 157.9 kB / 279.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.006681, allocations: 8.375 kB / 279.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.006694, allocations: 8.359 kB / 279.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.006834, allocations: 104 kB / 279.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.006842, allocations: 192 / 279.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.006855, allocations: 16.34 kB / 279.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.00686, allocations: 7.875 kB / 279.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.006897, allocations: 15.98 kB / 279.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.00731, allocations: 0.5801 MB / 280.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.007429, allocations: 109.2 kB / 280.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.007461, allocations: 39.11 kB / 280.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.007469, allocations: 4 kB / 280.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.00759, allocations: 123.9 kB / 280.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 9.41e-07/0.007591, allocations: 0 / 280.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002257/0.007817, allocations: 153.5 kB / 280.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.007874, allocations: 118.7 kB / 280.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.007991, allocations: 244 kB / 281.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.008016, allocations: 45.7 kB / 281.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.008079, allocations: 159.3 kB / 281.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.008111, allocations: 47.8 kB / 281.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.008176, allocations: 75.3 kB / 281.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.008319, allocations: 0.5001 MB / 281.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.008361, allocations: 27.98 kB / 281.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.174e-05/0.008423, allocations: 83.27 kB / 282 MB, free: 12.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.767e-05/0.008521, allocations: 111.2 kB / 282.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.008524, allocations: 4 kB / 282.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001721/0.008696, allocations: 193.2 kB / 282.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.008713, allocations: 4 kB / 282.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.008719, allocations: 0 / 282.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.008727, allocations: 4 kB / 282.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.008831, allocations: 47.97 kB / 282.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.008834, allocations: 0 / 282.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.008876, allocations: 27.78 kB / 282.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.008888, allocations: 7.984 kB / 282.4 MB, free: 11.79 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,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,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 9.897e-05/0.008987, allocations: 184.7 kB / 282.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.00901, allocations: 19.84 kB / 282.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.009037, allocations: 13.47 kB / 282.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.009042, allocations: 8.078 kB / 282.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.009045, allocations: 7.922 kB / 282.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.009048, allocations: 0 / 282.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.009158, allocations: 129.2 kB / 282.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.009159, allocations: 0 / 282.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.00918, allocations: 8 kB / 282.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.009181, allocations: 0 / 282.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.009192, allocations: 15.92 kB / 282.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.009192, allocations: 0 / 282.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009193, allocations: 0 / 282.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.009359, allocations: 191.6 kB / 282.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.00938, allocations: 27.83 kB / 283 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.0094, allocations: 7.938 kB / 283 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.809e-05/0.009428, allocations: 7.984 kB / 283 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.009469, allocations: 15.92 kB / 283 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.009474, allocations: 4 kB / 283 MB, free: 11.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.104e-05/0.009545, allocations: 173.6 kB / 283.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009545, allocations: 0 / 283.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00026/0.009805, allocations: 127.6 kB / 283.3 MB, free: 10.8 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.0005089/0.01031, allocations: 352.2 kB / 283.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.01046, allocations: 105.2 kB / 283.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.01046, allocations: 0 / 283.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.087e-05/0.0105, allocations: 39.59 kB / 283.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.01065, allocations: 15.98 kB / 283.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.01094, allocations: 280.2 kB / 284.1 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.593e-05/0.01097, allocations: 67.84 kB / 284.1 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.618e-05/0.01102, allocations: 21.47 kB / 284.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.01108, allocations: 82.2 kB / 284.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01108, allocations: 0 / 284.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of Templates: time 0.006132/0.01721, allocations: 4.285 MB / 288.5 MB, free: 5.559 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: 2.9190230569802225]