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.002021/0.002021, allocations: 86.44 kB / 21.44 MB, free: 276 kB / 14.72 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.002964/0.002964, allocations: 165.2 kB / 24.71 MB, free: 3.551 MB / 14.72 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.37/1.37, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 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 1.924e-06/1.924e-06, allocations: 3.938 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.074e-05, allocations: 6.281 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002808/0.002838, allocations: 1.507 MB / 300.5 MB, free: 7.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.005433, allocations: 1.369 MB / 301.8 MB, free: 5.812 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.723e-05/0.0055, allocations: 0 / 301.8 MB, free: 5.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.005608, allocations: 7.875 kB / 301.8 MB, free: 5.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.005715, allocations: 31.73 kB / 301.9 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.006886, allocations: 402.5 kB / 302.3 MB, free: 5.379 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.007066, allocations: 143.5 kB / 302.4 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.353e-05/0.007119, allocations: 5.688 kB / 302.4 MB, free: 5.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.007237, allocations: 75.8 kB / 302.5 MB, free: 5.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.007323, allocations: 55.8 kB / 302.5 MB, free: 5.102 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.007351, allocations: 12 kB / 302.5 MB, free: 5.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007609/0.008112, allocations: 446.9 kB / 303 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.384e-05/0.008186, allocations: 39.83 kB / 303 MB, free: 4.613 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.008258, allocations: 43.78 kB / 303.1 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007415/0.009, allocations: 470.7 kB / 303.5 MB, free: 4.109 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.009011, allocations: 3.984 kB / 303.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.009013, allocations: 0 / 303.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.00902, allocations: 4 kB / 303.5 MB, free: 4.102 MB / 286.1 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.0009672/0.009987, allocations: 456.6 kB / 304 MB, free: 3.625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/0.01005, allocations: 11.98 kB / 304 MB, free: 3.613 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.01032, allocations: 40.81 kB / 304 MB, free: 3.574 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.01055, allocations: 146.4 kB / 304.2 MB, free: 3.406 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.01058, allocations: 4.375 kB / 304.2 MB, free: 3.402 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.01061, allocations: 12.36 kB / 304.2 MB, free: 3.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.01092, allocations: 131.4 kB / 304.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.01094, allocations: 4.188 kB / 304.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.01096, allocations: 8.375 kB / 304.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.01096, allocations: 3.938 kB / 304.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.01118, allocations: 63.83 kB / 304.4 MB, free: 3.172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008195/0.012, allocations: 476.6 kB / 304.9 MB, free: 2.668 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.0124, allocations: 147.8 kB / 305 MB, free: 2.496 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.01254, allocations: 54.55 kB / 305.1 MB, free: 2.434 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.01256, allocations: 3.938 kB / 305.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003816/0.01294, allocations: 157.8 kB / 305.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.01294, allocations: 0 / 305.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006555/0.0136, allocations: 257.5 kB / 305.5 MB, free: 1.996 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.924e-05/0.01369, allocations: 118.8 kB / 305.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.01394, allocations: 191.2 kB / 305.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.01399, allocations: 49.69 kB / 305.8 MB, free: 1.605 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.01409, allocations: 116.6 kB / 305.9 MB, free: 1.488 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.01414, allocations: 39.73 kB / 306 MB, free: 1.449 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.01423, allocations: 53.7 kB / 306 MB, free: 1.391 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.01439, allocations: 334.8 kB / 306.4 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.01461, allocations: 104.1 kB / 306.5 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.01484, allocations: 139.2 kB / 306.6 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.01525, allocations: 227.8 kB / 306.8 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.01526, allocations: 4 kB / 306.8 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005677/0.01582, allocations: 317.3 kB / 307.1 MB, free: 256 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.01584, allocations: 4 kB / 307.1 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.01585, allocations: 8.391 kB / 307.1 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.01587, allocations: 4 kB / 307.1 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.01603, allocations: 27.97 kB / 307.2 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.01604, allocations: 11.88 kB / 307.2 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.01614, allocations: 27.83 kB / 307.2 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.01616, allocations: 7.984 kB / 307.2 MB, free: 164 kB / 286.1 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.0001563/0.01632, allocations: 145.9 kB / 307.4 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.01638, allocations: 24.02 kB / 307.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.01641, allocations: 13.47 kB / 307.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01641, allocations: 0 / 307.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.01642, allocations: 0 / 307.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01642, allocations: 7.938 kB / 307.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.01661, allocations: 149.2 kB / 307.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.01661, allocations: 0 / 307.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.01668, allocations: 15.73 kB / 307.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.01668, allocations: 8 kB / 307.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01669, allocations: 0 / 307.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01669, allocations: 0 / 307.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.0167, allocations: 7.984 kB / 307.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.01713, allocations: 238.5 kB / 307.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.01717, allocations: 19.84 kB / 307.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.0172, allocations: 7.984 kB / 307.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.01727, allocations: 8 kB / 307.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.01734, allocations: 19.97 kB / 307.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.01735, allocations: 4 kB / 307.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.0175, allocations: 145.1 kB / 308 MB, free: 15.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0175, allocations: 0 / 308 MB, free: 15.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005407/0.01804, allocations: 127.6 kB / 308.1 MB, free: 15.18 MB / 302.1 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.0009838/0.01902, allocations: 377.9 kB / 308.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004804/0.0195, allocations: 195.8 kB / 308.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01951, allocations: 0 / 308.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.01967, allocations: 59.98 kB / 308.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.01985, allocations: 15.88 kB / 308.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.02044, allocations: 284.2 kB / 309 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.02056, allocations: 107 kB / 309.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.706e-05/0.02062, allocations: 21.47 kB / 309.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.02068, allocations: 24.48 kB / 309.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.02068, allocations: 0 / 309.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of Templates: time 0.008462/0.02914, allocations: 3.747 MB / 312.9 MB, free: 10.31 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) [Timeout 480] 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.6292371563613415]