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.0009355/0.0009355, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0008981/0.0008981, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.055/1.055, allocations: 177 MB / 205.2 MB, free: 5.043 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 3.306e-06/3.306e-06, allocations: 3.984 kB / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/3.028e-05, allocations: 5.266 kB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002652/0.002682, allocations: 1.603 MB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.004967, allocations: 1.445 MB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.005047, allocations: 0 / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.005189, allocations: 11.86 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.005292, allocations: 35.72 kB / 276.5 MB, free: 13.88 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.001088/0.00638, allocations: 358.5 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.006563, allocations: 139.5 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.721e-05/0.00662, allocations: 10.33 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.006734, allocations: 75.81 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005754/0.007309, allocations: 85.67 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.00736, allocations: 12 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008136/0.008174, allocations: 482.9 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.008238, allocations: 35.84 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.008289, allocations: 43.83 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006826/0.008971, allocations: 430.7 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.008977, allocations: 4 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008978, allocations: 0 / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.008985, allocations: 0 / 278.2 MB, free: 12.24 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.0006633/0.009648, allocations: 423.3 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.009691, allocations: 11.98 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.009905, allocations: 28.91 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.01007, allocations: 163.5 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.0101, allocations: 8.375 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.01012, allocations: 4.375 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.01031, allocations: 99.53 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.01032, allocations: 192 / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.01033, allocations: 384 / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.01033, allocations: 7.938 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.636e-05/0.01038, allocations: 29.58 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.01083, allocations: 382.1 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.011, allocations: 179.6 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.01103, allocations: 30.58 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.01104, allocations: 4 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.01119, allocations: 116 kB / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/0.01119, allocations: 0 / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001979/0.01139, allocations: 115.6 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.01146, allocations: 118.7 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.01157, allocations: 183.4 kB / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.0116, allocations: 45.69 kB / 280.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.01165, allocations: 104.5 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.01169, allocations: 39.8 kB / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.01175, allocations: 65.66 kB / 280.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.01186, allocations: 330.8 kB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.01193, allocations: 26.81 kB / 280.6 MB, free: 9.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.01199, allocations: 71.91 kB / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.0121, allocations: 105.5 kB / 280.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01211, allocations: 0 / 280.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001655/0.01227, allocations: 156.3 kB / 281 MB, free: 9.191 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01229, allocations: 4 kB / 281 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.01229, allocations: 4 kB / 281 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01231, allocations: 0 / 281 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.01244, allocations: 51.91 kB / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01245, allocations: 4 kB / 281 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.01249, allocations: 19.84 kB / 281 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.01251, allocations: 7.984 kB / 281.1 MB, free: 9.102 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 0.0001205/0.01263, allocations: 152.7 kB / 281.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.01265, allocations: 19.92 kB / 281.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.01268, allocations: 17.45 kB / 281.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01269, allocations: 0 / 281.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01269, allocations: 0 / 281.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01269, allocations: 0 / 281.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.01282, allocations: 93.84 kB / 281.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01282, allocations: 0 / 281.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.01286, allocations: 15.94 kB / 281.3 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.01286, allocations: 4 kB / 281.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.01287, allocations: 0 / 281.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.01287, allocations: 15.91 kB / 281.4 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01288, allocations: 4 kB / 281.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.01302, allocations: 127.2 kB / 281.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.01305, allocations: 23.83 kB / 281.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.01307, allocations: 11.94 kB / 281.5 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.371e-05/0.0131, allocations: 11.92 kB / 281.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.01316, allocations: 11.98 kB / 281.6 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.01316, allocations: 4 kB / 281.6 MB, free: 8.543 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.189e-05/0.0132, allocations: 46.72 kB / 281.6 MB, free: 8.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0132, allocations: 4 kB / 281.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.01355, allocations: 131.6 kB / 281.7 MB, free: 8.363 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.0007087/0.01426, allocations: 351.5 kB / 282.1 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.01444, allocations: 97.56 kB / 282.2 MB, free: 7.949 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.01445, allocations: 4 kB / 282.2 MB, free: 7.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.252e-05/0.01449, allocations: 31.64 kB / 282.2 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.01463, allocations: 23.86 kB / 282.2 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.01504, allocations: 277.3 kB / 282.5 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.01508, allocations: 71.83 kB / 282.6 MB, free: 7.496 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.01513, allocations: 21.47 kB / 282.6 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.0152, allocations: 71.3 kB / 282.7 MB, free: 7.406 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0152, allocations: 0 / 282.7 MB, free: 7.406 MB / 266.7 MB Notification: Performance of Templates: time 0.006431/0.02163, allocations: 4.133 MB / 286.8 MB, free: 3.301 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 -s gbode -gbm=radauIIA3 -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.750228790100664]