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.001113/0.001113, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002577, allocations: 445.7 kB / 10.37 MB, free: 328 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.001074/0.001074, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002365, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.942/0.942, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.18/1.122, allocations: 49.49 MB / 220.5 MB, free: 1.457 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 1.342e-06/1.342e-06, allocations: 3.938 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.277e-05, allocations: 6.312 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002339/0.002362, allocations: 1.598 MB / 223.4 MB, free: 14.56 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007042/0.009404, allocations: 1.418 MB / 224.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.009478, allocations: 0 / 224.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.879e-05/0.009537, allocations: 7.875 kB / 224.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.652e-05/0.009623, allocations: 31.73 kB / 224.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.01301, allocations: 358.5 kB / 225.2 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.01319, allocations: 135.5 kB / 225.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.01324, allocations: 10.33 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.01339, allocations: 100.5 kB / 225.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.01348, allocations: 51.8 kB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.01351, allocations: 16 kB / 225.6 MB, free: 12.43 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007983/0.0143, allocations: 482.9 kB / 226 MB, free: 11.96 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.01437, allocations: 19.94 kB / 226 MB, free: 11.94 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.01442, allocations: 31.88 kB / 226.1 MB, free: 11.91 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006585/0.01508, allocations: 378.9 kB / 226.4 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.341e-05/0.0151, allocations: 0 / 226.4 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.0151, allocations: 0 / 226.4 MB, free: 11.54 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.01513, allocations: 0 / 226.4 MB, free: 11.54 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.0008791/0.016, allocations: 482.9 kB / 226.9 MB, free: 11.04 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.01604, allocations: 12.03 kB / 226.9 MB, free: 11.03 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.01624, allocations: 114 kB / 227 MB, free: 10.9 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.0164, allocations: 151.1 kB / 227.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.01643, allocations: 12.36 kB / 227.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.01644, allocations: 4.375 kB / 227.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.0166, allocations: 99.44 kB / 227.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.0166, allocations: 192 / 227.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.01661, allocations: 4.375 kB / 227.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.01662, allocations: 3.938 kB / 227.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.325e-05/0.01666, allocations: 29.56 kB / 227.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.01708, allocations: 382.2 kB / 227.7 MB, free: 10.16 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.01723, allocations: 175.6 kB / 227.9 MB, free: 9.957 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.01726, allocations: 22.58 kB / 227.9 MB, free: 9.926 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.01728, allocations: 4 kB / 227.9 MB, free: 9.922 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.01742, allocations: 116.6 kB / 228 MB, free: 9.785 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.01742, allocations: 0 / 228 MB, free: 9.785 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001667/0.01759, allocations: 115.8 kB / 228.1 MB, free: 9.664 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.01764, allocations: 122.7 kB / 228.3 MB, free: 9.52 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.01776, allocations: 183.4 kB / 228.4 MB, free: 9.328 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.01779, allocations: 49.69 kB / 228.5 MB, free: 9.273 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.01783, allocations: 104.5 kB / 228.6 MB, free: 9.168 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.01787, allocations: 43.66 kB / 228.6 MB, free: 9.125 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.01793, allocations: 57.66 kB / 228.7 MB, free: 9.062 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.01801, allocations: 334.8 kB / 229 MB, free: 8.727 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.745e-05/0.01806, allocations: 30.81 kB / 229 MB, free: 8.695 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/0.01812, allocations: 79.23 kB / 229.1 MB, free: 8.605 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.01822, allocations: 117.4 kB / 229.2 MB, free: 8.477 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01822, allocations: 0 / 229.2 MB, free: 8.477 MB / 234.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001439/0.01837, allocations: 148.3 kB / 229.4 MB, free: 8.324 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01838, allocations: 7.984 kB / 229.4 MB, free: 8.316 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.01839, allocations: 4 kB / 229.4 MB, free: 8.312 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.0184, allocations: 0 / 229.4 MB, free: 8.312 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.01853, allocations: 51.91 kB / 229.4 MB, free: 8.262 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.01853, allocations: 8.094 kB / 229.4 MB, free: 8.254 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.01858, allocations: 15.89 kB / 229.5 MB, free: 8.238 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.01859, allocations: 4 kB / 229.5 MB, free: 8.234 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 9.038e-05/0.01868, allocations: 148.5 kB / 229.6 MB, free: 8.078 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.01869, allocations: 16.02 kB / 229.6 MB, free: 8.062 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.01872, allocations: 13.45 kB / 229.6 MB, free: 8.051 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-06/0.01872, allocations: 4 kB / 229.6 MB, free: 8.047 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.01873, allocations: 0 / 229.6 MB, free: 8.047 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01873, allocations: 0 / 229.6 MB, free: 8.047 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.01883, allocations: 109.8 kB / 229.8 MB, free: 7.922 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01883, allocations: 0 / 229.8 MB, free: 7.922 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.01886, allocations: 15.92 kB / 229.8 MB, free: 7.906 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.01889, allocations: 19.84 kB / 229.8 MB, free: 7.887 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01889, allocations: 3.938 kB / 229.8 MB, free: 7.883 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.0189, allocations: 0 / 229.8 MB, free: 7.883 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.0189, allocations: 4 kB / 229.8 MB, free: 7.879 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.0189, allocations: 0 / 229.8 MB, free: 7.879 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.01903, allocations: 134.4 kB / 229.9 MB, free: 7.723 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.01905, allocations: 7.984 kB / 229.9 MB, free: 7.715 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.495e-05/0.01908, allocations: 11.94 kB / 229.9 MB, free: 7.703 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.01913, allocations: 15.97 kB / 230 MB, free: 7.688 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.01913, allocations: 4 kB / 230 MB, free: 7.684 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.172e-05/0.01917, allocations: 54.7 kB / 230 MB, free: 7.629 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01917, allocations: 0 / 230 MB, free: 7.629 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000301/0.01947, allocations: 123.7 kB / 230.1 MB, free: 7.508 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.0006687/0.02014, allocations: 408.2 kB / 230.5 MB, free: 7.137 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.0203, allocations: 100.7 kB / 230.6 MB, free: 7.035 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.0203, allocations: 4 kB / 230.6 MB, free: 7.031 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.02034, allocations: 40.7 kB / 230.7 MB, free: 6.988 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.02046, allocations: 31.91 kB / 230.7 MB, free: 6.957 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.02093, allocations: 280.2 kB / 231 MB, free: 6.645 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.546e-05/0.02097, allocations: 67.84 kB / 231 MB, free: 6.559 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.785e-05/0.02102, allocations: 25.72 kB / 231.1 MB, free: 6.535 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.02107, allocations: 67.31 kB / 231.1 MB, free: 6.469 MB / 234.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02107, allocations: 0 / 231.1 MB, free: 6.469 MB / 234.7 MB Notification: Performance of Templates: time 0.005924/0.027, allocations: 4.259 MB / 235.4 MB, free: 2.203 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7884168829768896]