Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.008497/0.008497, allocations: 159.8 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8885/0.8885, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.427e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002572/0.002606, allocations: 1.542 MB / 327.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.004736, allocations: 1.395 MB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.004806, allocations: 0 / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.004952, allocations: 15.81 kB / 328.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.005062, allocations: 27.73 kB / 328.8 MB, free: 12.42 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.00101/0.006072, allocations: 402.5 kB / 329.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.006258, allocations: 139.5 kB / 329.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.277e-05/0.006321, allocations: 5.688 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.899e-05/0.00642, allocations: 75.8 kB / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.007016, allocations: 77.42 kB / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.007045, allocations: 12 kB / 329.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005791/0.007624, allocations: 442.9 kB / 329.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.007688, allocations: 39.83 kB / 330 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.00775, allocations: 39.84 kB / 330 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.008358, allocations: 462.7 kB / 330.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.008364, allocations: 0 / 330.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.008366, allocations: 0 / 330.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.008373, allocations: 0 / 330.5 MB, free: 10.76 MB / 298.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.0008047/0.009177, allocations: 460 kB / 330.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.009228, allocations: 8.031 kB / 330.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.009413, allocations: 32.83 kB / 331 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.009576, allocations: 147 kB / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.009598, allocations: 8.375 kB / 331.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.009615, allocations: 4.375 kB / 331.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.009838, allocations: 128.7 kB / 331.2 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.009851, allocations: 7.875 kB / 331.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.009867, allocations: 4 kB / 331.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.009873, allocations: 0 / 331.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.01, allocations: 71.88 kB / 331.3 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.01061, allocations: 476.5 kB / 331.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.01086, allocations: 147.7 kB / 331.9 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/0.01095, allocations: 62.59 kB / 332 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.01096, allocations: 4 kB / 332 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.01118, allocations: 153.8 kB / 332.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.01119, allocations: 0 / 332.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004129/0.0116, allocations: 249.6 kB / 332.4 MB, free: 8.664 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.01166, allocations: 118.8 kB / 332.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.01181, allocations: 203 kB / 332.7 MB, free: 8.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.01183, allocations: 49.81 kB / 332.8 MB, free: 8.262 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.01189, allocations: 112.6 kB / 332.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.01193, allocations: 43.69 kB / 332.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.01199, allocations: 53.7 kB / 333 MB, free: 8.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.01209, allocations: 334.8 kB / 333.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.01222, allocations: 100.5 kB / 333.4 MB, free: 7.613 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.01236, allocations: 135.2 kB / 333.5 MB, free: 7.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.01261, allocations: 232.2 kB / 333.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.01262, allocations: 4 kB / 333.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003326/0.01295, allocations: 305.4 kB / 334 MB, free: 6.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.01297, allocations: 8 kB / 334.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.01297, allocations: 0 / 334.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.01299, allocations: 0 / 334.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.01309, allocations: 36.02 kB / 334.1 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.0131, allocations: 3.938 kB / 334.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.01314, allocations: 23.89 kB / 334.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.01316, allocations: 12 kB / 334.1 MB, free: 6.84 MB / 298.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.0001329/0.01329, allocations: 153.6 kB / 334.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.01331, allocations: 15.91 kB / 334.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.01334, allocations: 21.45 kB / 334.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.01334, allocations: 4 kB / 334.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.01335, allocations: 4 kB / 334.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01335, allocations: 0 / 334.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.01349, allocations: 141.2 kB / 334.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01349, allocations: 4 kB / 334.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.01353, allocations: 11.98 kB / 334.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01353, allocations: 0 / 334.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.01354, allocations: 7.938 kB / 334.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.01354, allocations: 3.938 kB / 334.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01354, allocations: 0 / 334.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.0138, allocations: 246.5 kB / 334.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.01382, allocations: 19.83 kB / 334.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.01385, allocations: 12 kB / 334.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.363e-05/0.01388, allocations: 7.984 kB / 334.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.01394, allocations: 16.02 kB / 334.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.01395, allocations: 4 kB / 334.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.013e-05/0.01403, allocations: 141.1 kB / 334.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01403, allocations: 4 kB / 334.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003532/0.01438, allocations: 123.7 kB / 335 MB, free: 5.859 MB / 298.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.0006669/0.01505, allocations: 365.5 kB / 335.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.01535, allocations: 183.8 kB / 335.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01535, allocations: 0 / 335.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.01543, allocations: 59.95 kB / 335.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.01557, allocations: 18.42 kB / 335.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.01602, allocations: 302.2 kB / 336 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.989e-05/0.01611, allocations: 114.9 kB / 336.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.01615, allocations: 20.48 kB / 336.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01615, allocations: 0 / 336.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of Templates: time 0.004962/0.02111, allocations: 3.999 MB / 340.1 MB, free: 0.7812 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.173967075534165]