Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001036/0.001036, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001083/0.001083, allocations: 168.4 kB / 25.6 MB, free: 8.566 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9619/0.9619, allocations: 158.6 MB / 187.5 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.839e-05, allocations: 6.25 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001937/0.001955, allocations: 1.54 MB / 253 MB, free: 5.691 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.003755, allocations: 1.391 MB / 254.4 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.003821, allocations: 0 / 254.4 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.003926, allocations: 11.88 kB / 254.4 MB, free: 4.273 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.352e-05/0.00401, allocations: 23.8 kB / 254.4 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00092/0.00493, allocations: 418.4 kB / 254.8 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.005077, allocations: 135.6 kB / 255 MB, free: 3.707 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.00512, allocations: 5.688 kB / 255 MB, free: 3.699 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.00521, allocations: 79.73 kB / 255.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.005264, allocations: 51.81 kB / 255.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.005288, allocations: 15.98 kB / 255.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005324/0.005821, allocations: 447 kB / 255.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.005872, allocations: 39.83 kB / 255.6 MB, free: 3.078 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.005913, allocations: 39.84 kB / 255.6 MB, free: 3.039 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.006338, allocations: 438.7 kB / 256.1 MB, free: 2.609 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.00634, allocations: 0 / 256.1 MB, free: 2.609 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.006341, allocations: 0 / 256.1 MB, free: 2.609 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.006347, allocations: 0 / 256.1 MB, free: 2.609 MB / 234.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.0005553/0.006903, allocations: 0.5419 MB / 256.6 MB, free: 2.031 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.00694, allocations: 15.98 kB / 256.6 MB, free: 2.016 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.007091, allocations: 48.81 kB / 256.7 MB, free: 1.969 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.007208, allocations: 173.7 kB / 256.8 MB, free: 1.77 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.007223, allocations: 384 / 256.8 MB, free: 1.77 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.007237, allocations: 12.38 kB / 256.9 MB, free: 1.758 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.007382, allocations: 97.25 kB / 257 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.00739, allocations: 192 / 257 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.007398, allocations: 384 / 257 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.007404, allocations: 3.938 kB / 257 MB, free: 1.641 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.684e-05/0.007441, allocations: 19.92 kB / 257 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007542/0.008195, allocations: 0.5841 MB / 257.6 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.008319, allocations: 113.3 kB / 257.7 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.008351, allocations: 35.06 kB / 257.7 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.008359, allocations: 3.984 kB / 257.7 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.008486, allocations: 131.9 kB / 257.8 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.008487, allocations: 0 / 257.8 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002309/0.008718, allocations: 145.5 kB / 258 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.008774, allocations: 126.9 kB / 258.1 MB, free: 352 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.00889, allocations: 238.6 kB / 258.3 MB, free: 96 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.008916, allocations: 53.61 kB / 258.4 MB, free: 36 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.008992, allocations: 159.3 kB / 258.5 MB, free: 15.88 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.009027, allocations: 47.64 kB / 258.6 MB, free: 15.83 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.009091, allocations: 71.27 kB / 258.7 MB, free: 15.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.009224, allocations: 0.5079 MB / 259.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.009269, allocations: 27.98 kB / 259.2 MB, free: 15.2 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.009332, allocations: 74.56 kB / 259.3 MB, free: 15.11 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.009438, allocations: 119.1 kB / 259.4 MB, free: 14.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.009439, allocations: 0 / 259.4 MB, free: 14.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001789/0.009618, allocations: 181.4 kB / 259.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.009629, allocations: 11.44 kB / 259.6 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.009635, allocations: 0 / 259.6 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.009646, allocations: 0 / 259.6 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.009757, allocations: 47.91 kB / 259.6 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.009763, allocations: 4 kB / 259.6 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.009806, allocations: 23.94 kB / 259.6 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.009818, allocations: 8 kB / 259.7 MB, free: 14.71 MB / 250.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.0001119/0.00993, allocations: 188.6 kB / 259.8 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.009952, allocations: 23.84 kB / 259.9 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.009985, allocations: 17.45 kB / 259.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.009986, allocations: 0 / 259.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.009989, allocations: 4 kB / 259.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.009993, allocations: 0 / 259.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.0101, allocations: 133.2 kB / 260 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.0101, allocations: 7.938 kB / 260 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.01012, allocations: 7.938 kB / 260 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01013, allocations: 7.984 kB / 260 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.01013, allocations: 3.938 kB / 260 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.01014, allocations: 8 kB / 260.1 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01014, allocations: 0 / 260.1 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.0103, allocations: 187.6 kB / 260.2 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.01033, allocations: 19.84 kB / 260.3 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01035, allocations: 11.94 kB / 260.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.704e-05/0.01037, allocations: 7.984 kB / 260.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.01041, allocations: 15.98 kB / 260.3 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.01042, allocations: 7.984 kB / 260.3 MB, free: 13.99 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.596e-05/0.01049, allocations: 165 kB / 260.5 MB, free: 13.83 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01049, allocations: 0 / 260.5 MB, free: 13.83 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000265/0.01075, allocations: 131.6 kB / 260.6 MB, free: 13.7 MB / 250.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.0005354/0.01129, allocations: 388.8 kB / 261 MB, free: 13.35 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.01144, allocations: 103.8 kB / 261.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01144, allocations: 8 kB / 261.1 MB, free: 13.24 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.01149, allocations: 35.61 kB / 261.1 MB, free: 13.2 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.01163, allocations: 15.98 kB / 261.1 MB, free: 13.18 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.01196, allocations: 279 kB / 261.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.342e-05/0.012, allocations: 79.69 kB / 261.5 MB, free: 12.78 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.41e-05/0.01205, allocations: 21.47 kB / 261.5 MB, free: 12.76 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.01211, allocations: 86.27 kB / 261.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01211, allocations: 0 / 261.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of Templates: time 0.006443/0.01855, allocations: 4.331 MB / 265.9 MB, free: 8.348 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/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.9840583712793887]