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.001049/0.001049, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.00116/0.00116, allocations: 170.5 kB / 24.91 MB, free: 8.773 MB / 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 0.9806/0.9806, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.493e-06/1.493e-06, allocations: 0 / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.059e-05, allocations: 2.312 kB / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.001989/0.00201, allocations: 1.607 MB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.003892, allocations: 1.453 MB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.003946, allocations: 0 / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.416e-05/0.004041, allocations: 11.88 kB / 276.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.868e-05/0.004119, allocations: 27.73 kB / 276.6 MB, free: 14.12 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.0006776/0.004797, allocations: 366.5 kB / 277 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.004937, allocations: 131.5 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.004982, allocations: 14.31 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.005061, allocations: 79.8 kB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.005422, allocations: 86.08 kB / 277.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.005445, allocations: 12 kB / 277.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/0.005974, allocations: 478.9 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.006023, allocations: 39.84 kB / 277.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.006063, allocations: 43.83 kB / 277.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.006507, allocations: 430.7 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.00651, allocations: 0 / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006511, allocations: 3.938 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.006515, allocations: 0 / 278.2 MB, free: 12.5 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.0005416/0.007057, allocations: 423.3 kB / 278.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.007088, allocations: 8.031 kB / 278.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.007246, allocations: 28.91 kB / 278.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.007359, allocations: 159.9 kB / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.007376, allocations: 16.34 kB / 278.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.007388, allocations: 4.375 kB / 278.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.007522, allocations: 95.53 kB / 279 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.00753, allocations: 3.938 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.007538, allocations: 4 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.007544, allocations: 4 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.766e-05/0.007581, allocations: 25.58 kB / 279 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.00794, allocations: 386 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.008067, allocations: 175.7 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.008093, allocations: 30.58 kB / 279.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.0081, allocations: 0 / 279.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.00822, allocations: 123.6 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 9.61e-07/0.008221, allocations: 0 / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001582/0.00838, allocations: 111.2 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.008435, allocations: 114.8 kB / 279.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.00853, allocations: 187.5 kB / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.008555, allocations: 41.7 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.008599, allocations: 112.5 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.008628, allocations: 39.69 kB / 280.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.008683, allocations: 61.64 kB / 280.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.008762, allocations: 330.8 kB / 280.7 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.008808, allocations: 30.81 kB / 280.7 MB, free: 9.805 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.154e-05/0.00886, allocations: 59.39 kB / 280.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.487e-05/0.008954, allocations: 113.5 kB / 280.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.008957, allocations: 0 / 280.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001419/0.009099, allocations: 156.2 kB / 281 MB, free: 9.449 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.00911, allocations: 4 kB / 281 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.009118, allocations: 4 kB / 281 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.009128, allocations: 0 / 281 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.009242, allocations: 55.91 kB / 281.1 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.009246, allocations: 4 kB / 281.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.009283, allocations: 23.78 kB / 281.1 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.009295, allocations: 12.09 kB / 281.1 MB, free: 9.348 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.649e-05/0.009382, allocations: 148.7 kB / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.009396, allocations: 15.92 kB / 281.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.009421, allocations: 13.47 kB / 281.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.009423, allocations: 0 / 281.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.009425, allocations: 0 / 281.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.00943, allocations: 7.984 kB / 281.3 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.728e-05/0.009517, allocations: 89.86 kB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.009519, allocations: 8 kB / 281.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.00954, allocations: 7.984 kB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.009544, allocations: 7.938 kB / 281.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.00955, allocations: 0 / 281.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.00955, allocations: 0 / 281.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.009552, allocations: 4 kB / 281.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.009665, allocations: 131.2 kB / 281.6 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.009685, allocations: 23.83 kB / 281.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.009704, allocations: 7.938 kB / 281.6 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.365e-05/0.009728, allocations: 4 kB / 281.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.009767, allocations: 19.97 kB / 281.6 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.009774, allocations: 4 kB / 281.6 MB, free: 8.809 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.009813, allocations: 54.72 kB / 281.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009813, allocations: 0 / 281.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.01004, allocations: 123.6 kB / 281.8 MB, free: 8.633 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.0005498/0.01059, allocations: 370.4 kB / 282.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.01073, allocations: 89.55 kB / 282.2 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01074, allocations: 4 kB / 282.2 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/0.01078, allocations: 39.92 kB / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.01089, allocations: 19.94 kB / 282.3 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.01119, allocations: 277.1 kB / 282.6 MB, free: 7.852 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.01123, allocations: 75.77 kB / 282.6 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.986e-05/0.01127, allocations: 17.48 kB / 282.7 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.01132, allocations: 71.36 kB / 282.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01132, allocations: 0 / 282.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of Templates: time 0.005453/0.01678, allocations: 4.131 MB / 286.9 MB, free: 3.566 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] 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","",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.705699549987912]