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.001394/0.001394, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001094/0.001094, allocations: 171.8 kB / 25.7 MB, free: 8.438 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.9204/0.9204, allocations: 158.6 MB / 187.6 MB, free: 2.766 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 8.92e-07/8.92e-07, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.219e-05, allocations: 2.312 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001952/0.001964, allocations: 1.59 MB / 253.2 MB, free: 5.621 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.003688, allocations: 1.43 MB / 254.6 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.003736, allocations: 0 / 254.6 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.263e-05/0.003809, allocations: 11.88 kB / 254.6 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.932e-05/0.003878, allocations: 31.72 kB / 254.6 MB, free: 4.133 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007038/0.004582, allocations: 366.5 kB / 255 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.004714, allocations: 135.5 kB / 255.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.00475, allocations: 14.27 kB / 255.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.128e-05/0.004821, allocations: 75.8 kB / 255.2 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.927e-05/0.004871, allocations: 55.8 kB / 255.3 MB, free: 3.5 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.004888, allocations: 12 kB / 255.3 MB, free: 3.488 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005983/0.005486, allocations: 494.9 kB / 255.8 MB, free: 3.004 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.005532, allocations: 35.84 kB / 255.8 MB, free: 2.969 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.005576, allocations: 43.83 kB / 255.8 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.00599, allocations: 434.7 kB / 256.3 MB, free: 2.5 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005993, allocations: 7.984 kB / 256.3 MB, free: 2.492 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005994, allocations: 0 / 256.3 MB, free: 2.492 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.005997, allocations: 0 / 256.3 MB, free: 2.492 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.0004709/0.006468, allocations: 423.3 kB / 256.7 MB, free: 2.055 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.006499, allocations: 11.98 kB / 256.7 MB, free: 2.043 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.006663, allocations: 32.84 kB / 256.7 MB, free: 2.012 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.006775, allocations: 151.1 kB / 256.9 MB, free: 1.836 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.006794, allocations: 12.36 kB / 256.9 MB, free: 1.824 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.006806, allocations: 12.31 kB / 256.9 MB, free: 1.812 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.006928, allocations: 91.59 kB / 257 MB, free: 1.707 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.006935, allocations: 192 / 257 MB, free: 1.707 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.006942, allocations: 4.359 kB / 257 MB, free: 1.703 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.006949, allocations: 7.938 kB / 257 MB, free: 1.695 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.666e-05/0.006986, allocations: 29.58 kB / 257 MB, free: 1.664 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.007307, allocations: 382.1 kB / 257.4 MB, free: 1.262 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.007421, allocations: 175.6 kB / 257.6 MB, free: 1.062 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.007445, allocations: 26.58 kB / 257.6 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.007452, allocations: 3.938 kB / 257.6 MB, free: 1.023 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.007562, allocations: 112.7 kB / 257.7 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.007563, allocations: 0 / 257.7 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001461/0.007709, allocations: 119.1 kB / 257.8 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.007753, allocations: 114.8 kB / 257.9 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.007849, allocations: 179.4 kB / 258.1 MB, free: 452 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.007875, allocations: 45.69 kB / 258.2 MB, free: 400 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.007911, allocations: 104.5 kB / 258.3 MB, free: 292 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.00794, allocations: 47.8 kB / 258.3 MB, free: 244 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.007993, allocations: 57.66 kB / 258.4 MB, free: 180 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.008075, allocations: 330.8 kB / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.296e-05/0.008118, allocations: 34.75 kB / 258.7 MB, free: 15.81 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.008171, allocations: 67.23 kB / 258.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.008283, allocations: 113.5 kB / 258.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008285, allocations: 0 / 258.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001518/0.008436, allocations: 148.3 kB / 259.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.008447, allocations: 8 kB / 259.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.008454, allocations: 3.984 kB / 259.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.008468, allocations: 4 kB / 259.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.008583, allocations: 47.92 kB / 259.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.008588, allocations: 3.938 kB / 259.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.065e-05/0.008628, allocations: 23.88 kB / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.008639, allocations: 4 kB / 259.1 MB, free: 15.36 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 9.03e-05/0.008729, allocations: 152.6 kB / 259.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.008744, allocations: 11.94 kB / 259.3 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.008772, allocations: 17.45 kB / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.008775, allocations: 4.094 kB / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.008778, allocations: 3.984 kB / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.008781, allocations: 0 / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.128e-05/0.008873, allocations: 97.8 kB / 259.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.008875, allocations: 4 kB / 259.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.008896, allocations: 15.98 kB / 259.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.008898, allocations: 0 / 259.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.008905, allocations: 8 kB / 259.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.008908, allocations: 3.938 kB / 259.5 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.00891, allocations: 3.938 kB / 259.5 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.009014, allocations: 123.8 kB / 259.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.009033, allocations: 19.84 kB / 259.6 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.009057, allocations: 11.98 kB / 259.6 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.572e-05/0.009083, allocations: 7.938 kB / 259.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.009117, allocations: 11.98 kB / 259.6 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.009123, allocations: 3.984 kB / 259.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.035e-05/0.009164, allocations: 58.66 kB / 259.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009164, allocations: 4 kB / 259.7 MB, free: 14.74 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.00941, allocations: 123.7 kB / 259.8 MB, free: 14.62 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.0006917/0.0101, allocations: 393.8 kB / 260.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.01023, allocations: 100.9 kB / 260.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.01024, allocations: 4 kB / 260.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.01027, allocations: 32.77 kB / 260.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.437e-05/0.01037, allocations: 24.19 kB / 260.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.01066, allocations: 280.2 kB / 260.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.01069, allocations: 75.69 kB / 260.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.232e-05/0.01074, allocations: 21.47 kB / 260.7 MB, free: 13.69 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.01079, allocations: 67.38 kB / 260.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01079, allocations: 0 / 260.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of Templates: time 0.005349/0.01614, allocations: 4.226 MB / 265 MB, free: 9.398 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 -s gbode -gbm=radauIIA3 -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.7261583427898586]