Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.001463/0.001463, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001607/0.001607, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.067e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002777/0.002808, allocations: 1.532 MB / 273.9 MB, free: 288 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.005607, allocations: 1.395 MB / 275.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.005663, allocations: 0 / 275.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.699e-05/0.00576, allocations: 15.81 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.772e-05/0.005858, allocations: 27.73 kB / 275.3 MB, free: 14.83 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.001139/0.006997, allocations: 402.5 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.007202, allocations: 139.5 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.007245, allocations: 5.688 kB / 275.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.007359, allocations: 79.8 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006345/0.007994, allocations: 78.89 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.008024, allocations: 12 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007792/0.008803, allocations: 442.9 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.008878, allocations: 39.83 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.00895, allocations: 39.84 kB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007456/0.009696, allocations: 462.7 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.009698, allocations: 0 / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.009699, allocations: 0 / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.009704, allocations: 0 / 277 MB, free: 13.18 MB / 266.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.0008803/0.01058, allocations: 456.7 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.01062, allocations: 12.02 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.01088, allocations: 36.77 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.01109, allocations: 151.2 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.01111, allocations: 8.375 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.01113, allocations: 4.375 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.01144, allocations: 132.7 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.01146, allocations: 3.938 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.01147, allocations: 7.938 kB / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.01147, allocations: 0 / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.01171, allocations: 67.89 kB / 277.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.01254, allocations: 472.8 kB / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.01293, allocations: 151.7 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.01308, allocations: 54.61 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.01309, allocations: 4 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.01343, allocations: 153.8 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.01343, allocations: 0 / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006933/0.01412, allocations: 257.5 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.01424, allocations: 114.8 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.0145, allocations: 199.2 kB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.01456, allocations: 49.75 kB / 279.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.769e-05/0.01466, allocations: 108.6 kB / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.144e-05/0.01472, allocations: 47.62 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.01483, allocations: 57.7 kB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.01501, allocations: 334.8 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.01527, allocations: 95.94 kB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.01553, allocations: 139.3 kB / 280 MB, free: 9.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.01595, allocations: 224.3 kB / 280.2 MB, free: 9.648 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01596, allocations: 0 / 280.2 MB, free: 9.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006238/0.01658, allocations: 321.4 kB / 280.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.0166, allocations: 8 kB / 280.6 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.01661, allocations: 4 kB / 280.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.01663, allocations: 3.938 kB / 280.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.0168, allocations: 31.92 kB / 280.6 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.01681, allocations: 0 / 280.6 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.01691, allocations: 27.83 kB / 280.6 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.01693, allocations: 12.09 kB / 280.6 MB, free: 9.242 MB / 266.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.0002115/0.01715, allocations: 153.7 kB / 280.8 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.01719, allocations: 19.91 kB / 280.8 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.01723, allocations: 17.45 kB / 280.8 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01723, allocations: 4 kB / 280.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.01724, allocations: 0 / 280.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01724, allocations: 0 / 280.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.01746, allocations: 149.2 kB / 281 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01746, allocations: 0 / 281 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.01753, allocations: 15.98 kB / 281 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01753, allocations: 0 / 281 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.01754, allocations: 4 kB / 281 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01754, allocations: 4 kB / 281 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01754, allocations: 0 / 281 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.01804, allocations: 257.2 kB / 281.2 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.01807, allocations: 15.84 kB / 281.3 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.0181, allocations: 8 kB / 281.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.01818, allocations: 15.98 kB / 281.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.01825, allocations: 7.984 kB / 281.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.01827, allocations: 7.984 kB / 281.3 MB, free: 8.512 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.01842, allocations: 145.2 kB / 281.4 MB, free: 8.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01842, allocations: 0 / 281.4 MB, free: 8.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004503/0.01887, allocations: 123.7 kB / 281.6 MB, free: 8.25 MB / 266.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.0009507/0.01982, allocations: 364.1 kB / 281.9 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004849/0.0203, allocations: 184 kB / 282.1 MB, free: 7.734 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.0203, allocations: 0 / 282.1 MB, free: 7.734 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.02048, allocations: 64.14 kB / 282.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.02071, allocations: 23.94 kB / 282.2 MB, free: 7.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.02128, allocations: 284.6 kB / 282.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.02143, allocations: 102.8 kB / 282.6 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.0215, allocations: 17.48 kB / 282.6 MB, free: 7.203 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.02155, allocations: 28.5 kB / 282.6 MB, free: 7.176 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02155, allocations: 0 / 282.6 MB, free: 7.176 MB / 266.7 MB Notification: Performance of Templates: time 0.009107/0.03066, allocations: 3.726 MB / 286.3 MB, free: 3.469 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.557523818919435]