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.001128/0.001128, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001633/0.002762, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001025/0.001025, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002384, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8556/0.8556, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1482/1.004, allocations: 49.49 MB / 220.7 MB, free: 1.371 MB / 218.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 2.545e-06/2.545e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.569e-05/3.823e-05, allocations: 2.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002664/0.002702, allocations: 1.598 MB / 223.6 MB, free: 14.45 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.004407, allocations: 1.422 MB / 225 MB, free: 13.01 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.004464, allocations: 0 / 225 MB, free: 13.01 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.563e-05/0.00452, allocations: 7.875 kB / 225 MB, free: 13 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.119e-05/0.004591, allocations: 31.72 kB / 225 MB, free: 12.97 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006875/0.005279, allocations: 366.5 kB / 225.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.005417, allocations: 135.5 kB / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.005456, allocations: 6.344 kB / 225.5 MB, free: 12.47 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.005576, allocations: 96.45 kB / 225.6 MB, free: 12.38 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.00564, allocations: 59.78 kB / 225.7 MB, free: 12.32 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.005659, allocations: 12 kB / 225.7 MB, free: 12.31 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.006222, allocations: 486.8 kB / 226.2 MB, free: 11.83 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.006273, allocations: 31.86 kB / 226.2 MB, free: 11.8 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.006307, allocations: 27.94 kB / 226.2 MB, free: 11.77 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.006719, allocations: 374.9 kB / 226.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-05/0.006734, allocations: 0 / 226.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006735, allocations: 3.938 kB / 226.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.006744, allocations: 0 / 226.6 MB, free: 11.4 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.0005828/0.007327, allocations: 475 kB / 227.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.007356, allocations: 8.031 kB / 227.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.007545, allocations: 110 kB / 227.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.007653, allocations: 159.1 kB / 227.3 MB, free: 10.6 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.007672, allocations: 8.375 kB / 227.4 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.007688, allocations: 8.375 kB / 227.4 MB, free: 10.58 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.00784, allocations: 99.42 kB / 227.5 MB, free: 10.47 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.007847, allocations: 192 / 227.5 MB, free: 10.47 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.007856, allocations: 4.375 kB / 227.5 MB, free: 10.46 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.007881, allocations: 11.92 kB / 227.5 MB, free: 10.45 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.7e-05/0.007918, allocations: 29.58 kB / 227.5 MB, free: 10.42 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.008259, allocations: 386.2 kB / 227.9 MB, free: 10.02 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.008377, allocations: 171.5 kB / 228.1 MB, free: 9.824 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.008403, allocations: 22.58 kB / 228.1 MB, free: 9.793 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.008411, allocations: 7.938 kB / 228.1 MB, free: 9.785 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.008533, allocations: 112.7 kB / 228.2 MB, free: 9.652 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 7.92e-07/0.008534, allocations: 4 kB / 228.2 MB, free: 9.648 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001592/0.008693, allocations: 115.6 kB / 228.3 MB, free: 9.527 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.008745, allocations: 118.9 kB / 228.4 MB, free: 9.387 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/0.008839, allocations: 183.4 kB / 228.6 MB, free: 9.195 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.008864, allocations: 45.7 kB / 228.6 MB, free: 9.145 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.008905, allocations: 100.5 kB / 228.7 MB, free: 9.043 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.008935, allocations: 47.66 kB / 228.8 MB, free: 8.996 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.008987, allocations: 57.66 kB / 228.8 MB, free: 8.934 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.009063, allocations: 334.8 kB / 229.2 MB, free: 8.598 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.009111, allocations: 38.75 kB / 229.2 MB, free: 8.559 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.009161, allocations: 67.27 kB / 229.3 MB, free: 8.48 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.684e-05/0.009258, allocations: 117.4 kB / 229.4 MB, free: 8.352 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.00926, allocations: 0 / 229.4 MB, free: 8.352 MB / 234.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001398/0.0094, allocations: 144.4 kB / 229.5 MB, free: 8.203 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.009413, allocations: 7.938 kB / 229.5 MB, free: 8.195 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.009418, allocations: 0 / 229.5 MB, free: 8.195 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.009431, allocations: 4 kB / 229.5 MB, free: 8.191 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.009549, allocations: 55.91 kB / 229.6 MB, free: 8.137 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.009553, allocations: 0 / 229.6 MB, free: 8.137 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.009596, allocations: 31.91 kB / 229.6 MB, free: 8.105 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.009612, allocations: 4 kB / 229.6 MB, free: 8.102 MB / 234.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 8.539e-05/0.009697, allocations: 140.6 kB / 229.8 MB, free: 7.953 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.009712, allocations: 15.97 kB / 229.8 MB, free: 7.938 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.009736, allocations: 21.39 kB / 229.8 MB, free: 7.922 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.00974, allocations: 4 kB / 229.8 MB, free: 7.918 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.009742, allocations: 0 / 229.8 MB, free: 7.918 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.009745, allocations: 0 / 229.8 MB, free: 7.918 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.009846, allocations: 101.8 kB / 229.9 MB, free: 7.801 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009848, allocations: 4 kB / 229.9 MB, free: 7.797 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.009872, allocations: 8 kB / 229.9 MB, free: 7.789 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.009889, allocations: 19.83 kB / 229.9 MB, free: 7.77 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.009891, allocations: 4 kB / 229.9 MB, free: 7.766 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.009897, allocations: 3.938 kB / 230 MB, free: 7.762 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.009901, allocations: 3.938 kB / 230 MB, free: 7.758 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.009902, allocations: 4 kB / 230 MB, free: 7.754 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.01001, allocations: 130.3 kB / 230.1 MB, free: 7.602 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.01003, allocations: 8 kB / 230.1 MB, free: 7.594 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.893e-05/0.01006, allocations: 7.984 kB / 230.1 MB, free: 7.586 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.0101, allocations: 19.92 kB / 230.1 MB, free: 7.566 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.01011, allocations: 3.984 kB / 230.1 MB, free: 7.562 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.942e-05/0.01014, allocations: 58.66 kB / 230.2 MB, free: 7.504 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01014, allocations: 0 / 230.2 MB, free: 7.504 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000265/0.01041, allocations: 123.7 kB / 230.3 MB, free: 7.383 MB / 234.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.0009137/0.01132, allocations: 423.2 kB / 230.7 MB, free: 6.996 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.01147, allocations: 104.7 kB / 230.8 MB, free: 6.891 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.01148, allocations: 4 kB / 230.8 MB, free: 6.887 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.01152, allocations: 32.78 kB / 230.9 MB, free: 6.852 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.01165, allocations: 32 kB / 230.9 MB, free: 6.82 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.01215, allocations: 280.1 kB / 231.2 MB, free: 6.508 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.01219, allocations: 71.83 kB / 231.2 MB, free: 6.418 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.864e-05/0.01224, allocations: 25.8 kB / 231.3 MB, free: 6.395 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.0123, allocations: 63.38 kB / 231.3 MB, free: 6.332 MB / 234.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0123, allocations: 0 / 231.3 MB, free: 6.332 MB / 234.7 MB Notification: Performance of Templates: time 0.005797/0.0181, allocations: 4.274 MB / 235.6 MB, free: 2.051 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.577462652698159]