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.002011/0.002011, allocations: 84.66 kB / 20.95 MB, free: 3.449 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.002348/0.002348, allocations: 149.1 kB / 24.25 MB, free: 156 kB / 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 1.505/1.505, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 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 1.754e-06/1.754e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.198e-05/4.373e-05, allocations: 6.25 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003301/0.003344, allocations: 1.515 MB / 268.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.006206, allocations: 1.364 MB / 270.2 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.00627, allocations: 0 / 270.2 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.006392, allocations: 15.86 kB / 270.2 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.006502, allocations: 27.73 kB / 270.2 MB, free: 3.781 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.001272/0.007773, allocations: 394.5 kB / 270.6 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.00799, allocations: 139.5 kB / 270.8 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.482e-05/0.008045, allocations: 5.688 kB / 270.8 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.008179, allocations: 79.8 kB / 270.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008089/0.008988, allocations: 87.61 kB / 270.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.009021, allocations: 8 kB / 270.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008556/0.009876, allocations: 431 kB / 271.4 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.00996, allocations: 39.83 kB / 271.4 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.01004, allocations: 39.84 kB / 271.4 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008114/0.01085, allocations: 458.6 kB / 271.9 MB, free: 2.141 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01086, allocations: 0 / 271.9 MB, free: 2.141 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01086, allocations: 0 / 271.9 MB, free: 2.141 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.01086, allocations: 0 / 271.9 MB, free: 2.141 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.0009269/0.01179, allocations: 452.8 kB / 272.3 MB, free: 1.668 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.01183, allocations: 8.922 kB / 272.3 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.0121, allocations: 36.78 kB / 272.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.01232, allocations: 151.2 kB / 272.5 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.01234, allocations: 12.36 kB / 272.5 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.01237, allocations: 7.938 kB / 272.5 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.01269, allocations: 128.2 kB / 272.7 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.0127, allocations: 3.938 kB / 272.7 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.01271, allocations: 4 kB / 272.7 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.01272, allocations: 0 / 272.7 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.01295, allocations: 59.95 kB / 272.7 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000878/0.01383, allocations: 484.7 kB / 273.2 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.01427, allocations: 147.7 kB / 273.4 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.01442, allocations: 50.62 kB / 273.4 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.01443, allocations: 7.984 kB / 273.4 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/0.01478, allocations: 157.8 kB / 273.6 MB, free: 304 kB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.01478, allocations: 0 / 273.6 MB, free: 304 kB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007071/0.01549, allocations: 245.5 kB / 273.8 MB, free: 52 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/0.01566, allocations: 126.7 kB / 273.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.0159, allocations: 199.1 kB / 274.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.01596, allocations: 45.7 kB / 274.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.01608, allocations: 112.6 kB / 274.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.01614, allocations: 39.69 kB / 274.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.01624, allocations: 61.69 kB / 274.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.01646, allocations: 334.8 kB / 274.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.01676, allocations: 95.95 kB / 274.8 MB, free: 15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.01705, allocations: 143.2 kB / 274.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.01749, allocations: 215.8 kB / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.0175, allocations: 4 kB / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006693/0.01817, allocations: 321.4 kB / 275.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.01819, allocations: 11.98 kB / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.0182, allocations: 4 kB / 275.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.01823, allocations: 4 kB / 275.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.01839, allocations: 23.98 kB / 275.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.01841, allocations: 7.938 kB / 275.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.01851, allocations: 27.81 kB / 275.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.01853, allocations: 8 kB / 275.6 MB, free: 14.21 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.0001752/0.01871, allocations: 149.9 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.01876, allocations: 27.8 kB / 275.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.0188, allocations: 13.47 kB / 275.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.0188, allocations: 4 kB / 275.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.01881, allocations: 3.984 kB / 275.7 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01881, allocations: 0 / 275.7 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.01904, allocations: 153.1 kB / 275.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01904, allocations: 0 / 275.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.01911, allocations: 8 kB / 275.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01911, allocations: 0 / 275.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.01913, allocations: 15.98 kB / 275.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01913, allocations: 0 / 275.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01913, allocations: 0 / 275.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.01962, allocations: 240.3 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.01966, allocations: 27.84 kB / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.01969, allocations: 4 kB / 276.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.01977, allocations: 15.98 kB / 276.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.01984, allocations: 7.984 kB / 276.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.01986, allocations: 4 kB / 276.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001789/0.02003, allocations: 153.1 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02003, allocations: 0 / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005195/0.02055, allocations: 127.6 kB / 276.5 MB, free: 13.21 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.001126/0.02168, allocations: 347.8 kB / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005209/0.0222, allocations: 183.8 kB / 277 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.0222, allocations: 0 / 277 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.02237, allocations: 68.09 kB / 277.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.02262, allocations: 15.98 kB / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000647/0.02326, allocations: 284.7 kB / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.02339, allocations: 106.7 kB / 277.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.16e-05/0.02347, allocations: 21.47 kB / 277.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.02352, allocations: 20.5 kB / 277.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02352, allocations: 0 / 277.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Templates: time 0.009662/0.03318, allocations: 3.657 MB / 281.2 MB, free: 8.523 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins/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.666124626994133]