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.001125/0.001125, allocations: 108.9 kB / 17.74 MB, free: 5.207 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.001116/0.001116, allocations: 181.4 kB / 18.67 MB, free: 4.289 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.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2584, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002522/0.261, allocations: 1.532 MB / 402.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.2632, allocations: 1.436 MB / 404.4 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.2633, allocations: 0 / 404.4 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.336e-05/0.2634, allocations: 7.875 kB / 404.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.42e-05/0.2635, allocations: 39.72 kB / 404.4 MB, free: 5.867 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.0009477/0.2644, allocations: 374.9 kB / 404.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.2646, allocations: 127.6 kB / 404.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.2647, allocations: 13.48 kB / 404.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.2647, allocations: 63.7 kB / 405 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005672/0.2653, allocations: 86 kB / 405.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.2654, allocations: 16 kB / 405.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006179/0.266, allocations: 403.3 kB / 405.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.2661, allocations: 39.84 kB / 405.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.2661, allocations: 59.66 kB / 405.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.2667, allocations: 400.4 kB / 406 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2667, allocations: 3.938 kB / 406 MB, free: 4.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2667, allocations: 0 / 406 MB, free: 4.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2667, allocations: 0 / 406 MB, free: 4.316 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.0007651/0.2675, allocations: 0.5101 MB / 406.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2675, allocations: 8.031 kB / 406.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.2678, allocations: 32.72 kB / 406.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.268, allocations: 205.5 kB / 406.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.268, allocations: 8 kB / 406.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.268, allocations: 8 kB / 406.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.2683, allocations: 132 kB / 406.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2683, allocations: 0 / 406.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2683, allocations: 4 kB / 406.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2683, allocations: 0 / 406.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.2686, allocations: 67.89 kB / 406.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.2693, allocations: 0.5438 MB / 407.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.2697, allocations: 155.7 kB / 407.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.2698, allocations: 66.55 kB / 407.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.2699, allocations: 0 / 407.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.2701, allocations: 149.9 kB / 407.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.2701, allocations: 0 / 407.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005996/0.2707, allocations: 257.9 kB / 408.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.2708, allocations: 114.8 kB / 408.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.271, allocations: 199 kB / 408.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.271, allocations: 49.81 kB / 408.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.2711, allocations: 112.6 kB / 408.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.2712, allocations: 47.44 kB / 408.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.2713, allocations: 53.7 kB / 408.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2714, allocations: 330.8 kB / 409 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.2716, allocations: 95.95 kB / 409.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.2718, allocations: 147.2 kB / 409.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.2722, allocations: 220.5 kB / 409.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2722, allocations: 0 / 409.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005352/0.2728, allocations: 317.2 kB / 409.8 MB, free: 236 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2728, allocations: 4 kB / 409.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2728, allocations: 4 kB / 409.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2728, allocations: 0 / 409.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.273, allocations: 35.92 kB / 409.8 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.273, allocations: 7.922 kB / 409.8 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.2731, allocations: 27.67 kB / 409.8 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.2731, allocations: 12.09 kB / 409.8 MB, free: 144 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.0001431/0.2733, allocations: 146 kB / 410 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.2733, allocations: 19.75 kB / 410 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.2734, allocations: 13.41 kB / 410 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.2734, allocations: 7.922 kB / 410 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2734, allocations: 3.938 kB / 410 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.2735, allocations: 92.86 kB / 410.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.2735, allocations: 15.98 kB / 410.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.2736, allocations: 8 kB / 410.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.2736, allocations: 15.98 kB / 410.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004895/0.2741, allocations: 427.4 kB / 410.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004634/0.2746, allocations: 0.5127 MB / 411.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001479/0.2748, allocations: 63.95 kB / 411.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.2749, allocations: 133.2 kB / 411.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Backend: time 7.72e-07/0.2749, allocations: 0 / 411.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.2763, allocations: 439.9 kB / 411.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005815/0.2769, allocations: 0.6835 MB / 412.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of Templates: time 0.007366/0.2843, allocations: 3.718 MB / 416.1 MB, free: 9.793 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