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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 113.9 kB / 17.75 MB, free: 5.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002325/0.002325, allocations: 185.2 kB / 18.68 MB, free: 4.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 51.92 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3531, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002852/0.356, allocations: 1.536 MB / 402.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.3585, allocations: 1.44 MB / 404.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.3586, allocations: 0 / 404.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.3587, allocations: 7.875 kB / 404.4 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.3588, allocations: 31.72 kB / 404.4 MB, free: 5.828 MB / 318.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.001127/0.36, allocations: 378.9 kB / 404.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.3602, allocations: 135.6 kB / 404.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.209e-05/0.3602, allocations: 13.48 kB / 404.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.3603, allocations: 59.7 kB / 405 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006218/0.3609, allocations: 82.84 kB / 405.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.361, allocations: 12 kB / 405.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006486/0.3616, allocations: 411.3 kB / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.851e-05/0.3617, allocations: 35.84 kB / 405.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.3618, allocations: 63.59 kB / 405.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005767/0.3624, allocations: 398.7 kB / 406 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3624, allocations: 0 / 406 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3624, allocations: 0 / 406 MB, free: 4.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3624, allocations: 0 / 406 MB, free: 4.27 MB / 318.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.0008087/0.3632, allocations: 0.5135 MB / 406.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3633, allocations: 12.02 kB / 406.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.3635, allocations: 40.77 kB / 406.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.3637, allocations: 205.6 kB / 406.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.3637, allocations: 11.94 kB / 406.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3638, allocations: 8 kB / 406.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.364, allocations: 126.7 kB / 406.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.364, allocations: 0 / 406.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3641, allocations: 0 / 406.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3641, allocations: 4 kB / 406.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.3643, allocations: 71.88 kB / 407 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.365, allocations: 0.5438 MB / 407.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.3654, allocations: 151.7 kB / 407.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.3655, allocations: 66.55 kB / 407.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.3655, allocations: 4 kB / 407.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.3658, allocations: 153.8 kB / 407.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.3658, allocations: 0 / 407.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005775/0.3664, allocations: 258 kB / 408.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.3665, allocations: 114.8 kB / 408.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3667, allocations: 199.1 kB / 408.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.3667, allocations: 45.69 kB / 408.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.3668, allocations: 112.5 kB / 408.6 MB, free: 1.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.3669, allocations: 47.67 kB / 408.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/0.367, allocations: 53.7 kB / 408.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3671, allocations: 334.9 kB / 409 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.3673, allocations: 99.94 kB / 409.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.3675, allocations: 139.2 kB / 409.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.3679, allocations: 228.5 kB / 409.5 MB, free: 484 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3679, allocations: 0 / 409.5 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005191/0.3684, allocations: 313.2 kB / 409.8 MB, free: 164 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3685, allocations: 8 kB / 409.8 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3685, allocations: 0 / 409.8 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3685, allocations: 4.094 kB / 409.8 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3687, allocations: 39.86 kB / 409.8 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.3687, allocations: 3.984 kB / 409.8 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.3688, allocations: 23.88 kB / 409.9 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.3688, allocations: 8 kB / 409.9 MB, free: 76 kB / 318.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.0001693/0.369, allocations: 149.7 kB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.369, allocations: 15.91 kB / 410 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.3691, allocations: 21.39 kB / 410 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3691, allocations: 3.938 kB / 410 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3691, allocations: 0 / 410 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.3692, allocations: 101 kB / 410.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.3692, allocations: 7.984 kB / 410.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.3693, allocations: 4 kB / 410.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.3694, allocations: 20.06 kB / 410.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005034/0.3699, allocations: 435.4 kB / 410.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004977/0.3704, allocations: 0.5205 MB / 411.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001497/0.3706, allocations: 59.95 kB / 411.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.3707, allocations: 141.2 kB / 411.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of Backend: time 6.91e-07/0.3707, allocations: 0 / 411.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.3722, allocations: 438.4 kB / 411.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006255/0.3729, allocations: 0.6833 MB / 412.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of Templates: time 0.007902/0.3808, allocations: 3.713 MB / 416.1 MB, free: 9.711 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.makefile (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) 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) Reference file matches