Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 70.03 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 153.6 kB / 24.49 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 43.25 kB / 319.4 MB, free: 3.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08845/0.09003, allocations: 52.17 MB / 371.6 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002891/0.09292, allocations: 1.508 MB / 373.1 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.09538, allocations: 1.354 MB / 374.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.09545, allocations: 4 kB / 374.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.825e-05/0.09555, allocations: 7.875 kB / 374.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.09566, allocations: 27.73 kB / 374.5 MB, free: 4.57 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.09678, allocations: 394.8 kB / 374.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.09696, allocations: 131.5 kB / 375 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.647e-05/0.09702, allocations: 17.66 kB / 375 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.09709, allocations: 55.78 kB / 375.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000615/0.0977, allocations: 84.97 kB / 375.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.09773, allocations: 12 kB / 375.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007505/0.09848, allocations: 427.1 kB / 375.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.09854, allocations: 39.84 kB / 375.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.796e-05/0.09861, allocations: 51.72 kB / 375.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006342/0.09924, allocations: 394.7 kB / 376 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.09925, allocations: 4 kB / 376 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09925, allocations: 0 / 376 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.09926, allocations: 7.938 kB / 376.1 MB, free: 2.98 MB / 334.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.0008263/0.1001, allocations: 448.8 kB / 376.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1001, allocations: 8.922 kB / 376.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.1004, allocations: 36.77 kB / 376.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.1005, allocations: 151.7 kB / 376.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.1006, allocations: 11.92 kB / 376.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.1006, allocations: 12 kB / 376.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.1009, allocations: 124.1 kB / 376.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1009, allocations: 4 kB / 376.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1009, allocations: 4 kB / 376.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1009, allocations: 4 kB / 376.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.1011, allocations: 63.89 kB / 376.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007286/0.1019, allocations: 476.7 kB / 377.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.1022, allocations: 147.7 kB / 377.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1024, allocations: 62.61 kB / 377.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.1024, allocations: 0 / 377.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.1027, allocations: 152.5 kB / 377.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.1027, allocations: 0 / 377.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006298/0.1033, allocations: 265.3 kB / 378 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.47e-05/0.1034, allocations: 118.9 kB / 378.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1036, allocations: 199.2 kB / 378.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.1037, allocations: 45.7 kB / 378.3 MB, free: 496 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.1037, allocations: 112.6 kB / 378.5 MB, free: 380 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.1038, allocations: 43.69 kB / 378.5 MB, free: 336 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.1039, allocations: 61.69 kB / 378.6 MB, free: 268 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1041, allocations: 330.8 kB / 378.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.1043, allocations: 92.08 kB / 379 MB, free: 15.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.1045, allocations: 155.2 kB / 379.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.1049, allocations: 216.3 kB / 379.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1049, allocations: 0 / 379.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005668/0.1055, allocations: 321.2 kB / 379.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1055, allocations: 4 kB / 379.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1055, allocations: 4 kB / 379.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1055, allocations: 0 / 379.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.1057, allocations: 31.98 kB / 379.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1057, allocations: 3.938 kB / 379.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.095e-05/0.1058, allocations: 23.81 kB / 379.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.1058, allocations: 12 kB / 379.7 MB, free: 15.05 MB / 350.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.0001572/0.106, allocations: 146 kB / 379.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.106, allocations: 19.91 kB / 379.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.106, allocations: 13.47 kB / 379.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.106, allocations: 0 / 379.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.1061, allocations: 11.92 kB / 379.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1061, allocations: 0 / 379.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.1063, allocations: 149.2 kB / 380.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1063, allocations: 3.938 kB / 380.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.1063, allocations: 16 kB / 380.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1063, allocations: 4 kB / 380.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1063, allocations: 7.984 kB / 380.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1063, allocations: 4 kB / 380.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1063, allocations: 0 / 380.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.1068, allocations: 242.5 kB / 380.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.1068, allocations: 19.84 kB / 380.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1068, allocations: 8 kB / 380.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.1069, allocations: 11.98 kB / 380.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.107, allocations: 11.92 kB / 380.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.107, allocations: 8 kB / 380.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1071, allocations: 149.1 kB / 380.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1071, allocations: 0 / 380.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.1076, allocations: 123.7 kB / 380.6 MB, free: 14.05 MB / 350.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.0007586/0.1084, allocations: 330.7 kB / 381 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004503/0.1088, allocations: 187.7 kB / 381.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1088, allocations: 0 / 381.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.109, allocations: 68.08 kB / 381.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.1091, allocations: 8 kB / 381.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00056/0.1097, allocations: 280.8 kB / 381.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.1098, allocations: 102.8 kB / 381.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.1099, allocations: 25.53 kB / 381.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.1099, allocations: 16.5 kB / 381.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1099, allocations: 0 / 381.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Templates: time 0.008186/0.1181, allocations: 3.536 MB / 385.2 MB, free: 9.516 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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.574146506958641]