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.002468/0.002468, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002547/0.002547, allocations: 160.8 kB / 24.27 MB, free: 156 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.605/1.605, allocations: 177 MB / 204.4 MB, free: 5.613 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.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 2.094e-06/2.094e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.161e-05/4.37e-05, allocations: 4.984 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.004222/0.004266, allocations: 1.554 MB / 273.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00347/0.007736, allocations: 1.422 MB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.007881, allocations: 0 / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.008048, allocations: 7.875 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.008189, allocations: 31.73 kB / 275.2 MB, free: 14.76 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.001757/0.009946, allocations: 402.5 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.01021, allocations: 135.5 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.646e-05/0.01028, allocations: 9.688 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.01041, allocations: 75.8 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008635/0.01128, allocations: 82.98 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.01131, allocations: 12 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009307/0.01224, allocations: 446.8 kB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.01232, allocations: 39.83 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/0.0124, allocations: 39.84 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008368/0.01324, allocations: 462.7 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.01324, allocations: 0 / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01324, allocations: 0 / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.01325, allocations: 4 kB / 276.9 MB, free: 13.09 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.0009897/0.01424, allocations: 0.5455 MB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.01429, allocations: 15.98 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002898/0.01458, allocations: 36.81 kB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.0148, allocations: 157.7 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.01483, allocations: 8.375 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.01485, allocations: 4.375 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.01512, allocations: 121.1 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.01513, allocations: 192 / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.01515, allocations: 4.375 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.01516, allocations: 7.938 kB / 277.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.01533, allocations: 47.89 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/0.01625, allocations: 0.6146 MB / 278.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.01662, allocations: 145.3 kB / 278.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.01674, allocations: 58.98 kB / 278.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.01676, allocations: 4 kB / 278.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002965/0.01706, allocations: 146.8 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.002e-06/0.01706, allocations: 0 / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006037/0.01766, allocations: 205.5 kB / 279 MB, free: 10.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/0.01776, allocations: 114.8 kB / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.01805, allocations: 270.7 kB / 279.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.0181, allocations: 45.69 kB / 279.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.01824, allocations: 163.5 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.01831, allocations: 51.62 kB / 279.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.01844, allocations: 83.27 kB / 279.7 MB, free: 10 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002959/0.01873, allocations: 0.5079 MB / 280.2 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.01889, allocations: 55.97 kB / 280.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.0191, allocations: 107.3 kB / 280.4 MB, free: 9.309 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.01943, allocations: 163.1 kB / 280.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01943, allocations: 4 kB / 280.5 MB, free: 9.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004843/0.01991, allocations: 233.3 kB / 280.8 MB, free: 8.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.01993, allocations: 4 kB / 280.8 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.01994, allocations: 4 kB / 280.8 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.01996, allocations: 0 / 280.8 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.02016, allocations: 43.92 kB / 280.8 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.02017, allocations: 0 / 280.8 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.02026, allocations: 27.83 kB / 280.8 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.02028, allocations: 4.094 kB / 280.8 MB, free: 8.812 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 0.0001937/0.02047, allocations: 196.5 kB / 281 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.02052, allocations: 27.83 kB / 281.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.02056, allocations: 13.47 kB / 281.1 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.02056, allocations: 0 / 281.1 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.02056, allocations: 0 / 281.1 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.02057, allocations: 4 kB / 281.1 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.0208, allocations: 164.6 kB / 281.2 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.0208, allocations: 0 / 281.2 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.02085, allocations: 19.92 kB / 281.3 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.02086, allocations: 96 / 281.3 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.02087, allocations: 4 kB / 281.3 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.02087, allocations: 4.406 kB / 281.3 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.02088, allocations: 3.984 kB / 281.3 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.02131, allocations: 223.6 kB / 281.5 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.02134, allocations: 27.72 kB / 281.5 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.02138, allocations: 11.98 kB / 281.5 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.693e-05/0.02144, allocations: 4 kB / 281.5 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.02151, allocations: 19.91 kB / 281.6 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.02152, allocations: 8 kB / 281.6 MB, free: 8.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.02171, allocations: 193 kB / 281.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02171, allocations: 0 / 281.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004908/0.0222, allocations: 119.7 kB / 281.9 MB, free: 7.711 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.001062/0.02326, allocations: 360 kB / 282.2 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004338/0.0237, allocations: 148.3 kB / 282.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.0237, allocations: 0 / 282.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.02385, allocations: 55.91 kB / 282.4 MB, free: 7.164 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.02407, allocations: 23.92 kB / 282.4 MB, free: 7.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006642/0.02474, allocations: 280 kB / 282.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.02489, allocations: 102.8 kB / 282.8 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.166e-05/0.02498, allocations: 21.47 kB / 282.8 MB, free: 6.691 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.02503, allocations: 24.5 kB / 282.9 MB, free: 6.668 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02503, allocations: 3.938 kB / 282.9 MB, free: 6.664 MB / 266.7 MB Notification: Performance of Templates: time 0.009493/0.03453, allocations: 3.734 MB / 286.6 MB, free: 2.938 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.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.754198664915748]