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.001989/0.001989, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002095/0.002095, allocations: 160.1 kB / 25.03 MB, free: 8.418 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 1.478/1.478, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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 2.455e-06/2.455e-06, allocations: 0 / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.623e-05/3.868e-05, allocations: 6.312 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.00503/0.005069, allocations: 1.532 MB / 251.9 MB, free: 6.297 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005263/0.01033, allocations: 1.399 MB / 253.3 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.01044, allocations: 0 / 253.3 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.01061, allocations: 7.875 kB / 253.3 MB, free: 4.875 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.0108, allocations: 27.73 kB / 253.3 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.01294, allocations: 406.5 kB / 253.7 MB, free: 4.449 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.01328, allocations: 139.5 kB / 253.9 MB, free: 4.312 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.55e-05/0.01336, allocations: 9.625 kB / 253.9 MB, free: 4.301 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.01357, allocations: 79.8 kB / 253.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.01371, allocations: 51.81 kB / 254 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.095e-05/0.01376, allocations: 12 kB / 254 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.01527, allocations: 443 kB / 254.4 MB, free: 3.727 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.01539, allocations: 43.83 kB / 254.5 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.01552, allocations: 39.84 kB / 254.5 MB, free: 3.645 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.01682, allocations: 470.6 kB / 255 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.01683, allocations: 3.938 kB / 255 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.01683, allocations: 4 kB / 255 MB, free: 3.176 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.01683, allocations: 0 / 255 MB, free: 3.176 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.001474/0.01831, allocations: 0.5456 MB / 255.5 MB, free: 2.59 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.783e-05/0.01839, allocations: 15.98 kB / 255.6 MB, free: 2.574 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004852/0.01887, allocations: 40.75 kB / 255.6 MB, free: 2.535 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.0192, allocations: 149.2 kB / 255.7 MB, free: 2.363 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.01924, allocations: 8.375 kB / 255.7 MB, free: 2.355 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.01927, allocations: 4.375 kB / 255.8 MB, free: 2.352 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.01972, allocations: 117.1 kB / 255.9 MB, free: 2.219 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.01974, allocations: 4.188 kB / 255.9 MB, free: 2.215 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.01976, allocations: 4.375 kB / 255.9 MB, free: 2.211 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.01978, allocations: 7.938 kB / 255.9 MB, free: 2.203 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.02011, allocations: 47.83 kB / 255.9 MB, free: 2.156 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.02162, allocations: 0.6185 MB / 256.5 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006718/0.0223, allocations: 157.2 kB / 256.7 MB, free: 1.301 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.02253, allocations: 51.11 kB / 256.7 MB, free: 1.238 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.02256, allocations: 7.938 kB / 256.8 MB, free: 1.23 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004917/0.02305, allocations: 144 kB / 256.9 MB, free: 1.062 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 2.124e-06/0.02305, allocations: 0 / 256.9 MB, free: 1.062 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.001126/0.02418, allocations: 209.5 kB / 257.1 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/0.02435, allocations: 110.8 kB / 257.2 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.02485, allocations: 270.7 kB / 257.5 MB, free: 448 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.601e-05/0.02494, allocations: 45.81 kB / 257.5 MB, free: 396 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.02514, allocations: 163.4 kB / 257.7 MB, free: 228 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.02526, allocations: 51.67 kB / 257.7 MB, free: 176 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.02544, allocations: 71.34 kB / 257.8 MB, free: 96 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000466/0.02591, allocations: 0.5118 MB / 258.3 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.0262, allocations: 59.91 kB / 258.4 MB, free: 15.51 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.02658, allocations: 110.6 kB / 258.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.0272, allocations: 159.1 kB / 258.6 MB, free: 15.21 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.778e-06/0.02721, allocations: 4 kB / 258.6 MB, free: 15.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009374/0.02814, allocations: 233.3 kB / 258.9 MB, free: 14.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.02817, allocations: 11.94 kB / 258.9 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.02818, allocations: 0 / 258.9 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.02821, allocations: 4 kB / 258.9 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.02859, allocations: 43.92 kB / 258.9 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.02861, allocations: 7.984 kB / 258.9 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.02875, allocations: 15.84 kB / 258.9 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.0288, allocations: 16.09 kB / 259 MB, free: 14.88 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,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.0003504/0.02915, allocations: 196.4 kB / 259.2 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.02922, allocations: 23.84 kB / 259.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.02928, allocations: 13.47 kB / 259.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.0293, allocations: 7.984 kB / 259.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.0293, allocations: 0 / 259.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.02931, allocations: 0 / 259.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.02972, allocations: 168.5 kB / 259.4 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.02972, allocations: 4.094 kB / 259.4 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.194e-05/0.02981, allocations: 11.94 kB / 259.4 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.02982, allocations: 3.984 kB / 259.4 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.02985, allocations: 8 kB / 259.4 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.02986, allocations: 3.984 kB / 259.4 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.02987, allocations: 3.938 kB / 259.4 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/0.03062, allocations: 211.7 kB / 259.6 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.03069, allocations: 23.77 kB / 259.6 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.629e-05/0.03075, allocations: 12 kB / 259.6 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.03086, allocations: 7.984 kB / 259.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.03096, allocations: 15.98 kB / 259.7 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.03098, allocations: 7.938 kB / 259.7 MB, free: 14.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002904/0.03127, allocations: 189 kB / 259.9 MB, free: 13.9 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.03127, allocations: 0 / 259.9 MB, free: 13.9 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008471/0.03211, allocations: 131.6 kB / 260 MB, free: 13.77 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.001678/0.03379, allocations: 380.2 kB / 260.4 MB, free: 13.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008299/0.03462, allocations: 151.8 kB / 260.5 MB, free: 13.28 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.03463, allocations: 4.062 kB / 260.5 MB, free: 13.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.03489, allocations: 54.8 kB / 260.6 MB, free: 13.22 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.03529, allocations: 23.88 kB / 260.6 MB, free: 13.2 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009775/0.03627, allocations: 299 kB / 260.9 MB, free: 12.87 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.03646, allocations: 102.8 kB / 261 MB, free: 12.75 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.03657, allocations: 25.53 kB / 261 MB, free: 12.72 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.03665, allocations: 16.5 kB / 261 MB, free: 12.71 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.03665, allocations: 0 / 261 MB, free: 12.71 MB / 250.7 MB Notification: Performance of Templates: time 0.01498/0.05163, allocations: 3.805 MB / 264.8 MB, free: 8.91 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.8212289430666715]