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.001078/0.001078, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001221/0.001221, allocations: 144.8 kB / 24.89 MB, free: 9.164 MB / 18.57 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 0.9665/0.9665, allocations: 173.4 MB / 201.5 MB, free: 9.234 MB / 186.7 MB " [Timeout remaining time 179] 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 1.443e-06/1.443e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.37e-05, allocations: 2.312 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002191/0.002214, allocations: 1.585 MB / 270.1 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.003927, allocations: 1.41 MB / 271.5 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.003992, allocations: 0 / 271.5 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.579e-05/0.004088, allocations: 11.88 kB / 271.5 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.289e-05/0.004181, allocations: 27.73 kB / 271.6 MB, free: 3.117 MB / 250.7 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.0007812/0.004962, allocations: 366.5 kB / 271.9 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.005108, allocations: 131.5 kB / 272 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.005155, allocations: 10.34 kB / 272 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.005234, allocations: 79.8 kB / 272.1 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003698/0.005603, allocations: 86.64 kB / 272.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.005634, allocations: 12 kB / 272.2 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005784/0.006212, allocations: 470.9 kB / 272.7 MB, free: 2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.251e-05/0.006255, allocations: 39.83 kB / 272.7 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.006294, allocations: 39.84 kB / 272.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.006751, allocations: 426.7 kB / 273.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.006754, allocations: 0 / 273.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006755, allocations: 0 / 273.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.006759, allocations: 4 kB / 273.2 MB, free: 1.5 MB / 250.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.0004998/0.007259, allocations: 419.4 kB / 273.6 MB, free: 1.066 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.007288, allocations: 8.922 kB / 273.6 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.007451, allocations: 36.83 kB / 273.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.007567, allocations: 147.1 kB / 273.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.007587, allocations: 12.36 kB / 273.8 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.007602, allocations: 15.92 kB / 273.8 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.007739, allocations: 94.92 kB / 273.9 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.007746, allocations: 0 / 273.9 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.007754, allocations: 4 kB / 273.9 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.00776, allocations: 4 kB / 273.9 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.56e-05/0.007805, allocations: 25.58 kB / 273.9 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.008156, allocations: 390 kB / 274.3 MB, free: 276 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.008278, allocations: 167.5 kB / 274.5 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.008304, allocations: 30.64 kB / 274.5 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-06/0.008312, allocations: 8 kB / 274.5 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.008447, allocations: 116.7 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.008448, allocations: 0 / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001596/0.008607, allocations: 107.2 kB / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.00868, allocations: 122.7 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.008786, allocations: 183.4 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.008811, allocations: 41.69 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.008853, allocations: 104.6 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.008886, allocations: 39.67 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.008944, allocations: 61.66 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.009034, allocations: 342.8 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.009083, allocations: 26.81 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/0.009139, allocations: 63.27 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.009245, allocations: 113.4 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009247, allocations: 0 / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001529/0.0094, allocations: 152.3 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.009412, allocations: 8.094 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.00942, allocations: 4 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.009434, allocations: 0 / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.009551, allocations: 47.91 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.009555, allocations: 4 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.847e-05/0.009593, allocations: 19.83 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.009606, allocations: 8 kB / 276 MB, free: 14.37 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,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.117e-05/0.009687, allocations: 148.6 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.009705, allocations: 19.98 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.009729, allocations: 13.47 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.009731, allocations: 0 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.009733, allocations: 0 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.009737, allocations: 3.984 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.654e-05/0.009833, allocations: 101.7 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.009836, allocations: 3.984 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.009857, allocations: 8 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.00986, allocations: 4 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-06/0.009865, allocations: 0 / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.009867, allocations: 4 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.009869, allocations: 8 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.01002, allocations: 137 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.01003, allocations: 23.83 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.01005, allocations: 8 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.656e-05/0.01008, allocations: 4 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.01012, allocations: 11.97 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.01013, allocations: 8 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.694e-05/0.01016, allocations: 50.7 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01016, allocations: 0 / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.01041, allocations: 127.7 kB / 276.7 MB, free: 13.64 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.0005811/0.01099, allocations: 365 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.01113, allocations: 92.73 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.01114, allocations: 4 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.946e-05/0.01118, allocations: 28.78 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.01129, allocations: 19.94 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.01162, allocations: 265.2 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.977e-05/0.01166, allocations: 79.94 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.469e-05/0.0117, allocations: 17.48 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.01175, allocations: 63.38 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01176, allocations: 3.938 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of Templates: time 0.005487/0.01724, allocations: 4.029 MB / 281.7 MB, free: 8.695 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/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.676235776860267]