Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 106.3 kB / 18.4 MB, free: 4.691 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.001292/0.001292, allocations: 184.2 kB / 19.34 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 47.94 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06869/0.06985, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002289/0.07217, allocations: 1.534 MB / 377.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.07429, allocations: 1.457 MB / 378.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.07436, allocations: 0 / 378.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.92e-05/0.07445, allocations: 19.8 kB / 378.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.143e-05/0.07454, allocations: 23.8 kB / 378.9 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008907/0.07544, allocations: 386.8 kB / 379.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.07559, allocations: 131.6 kB / 379.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.07565, allocations: 13.48 kB / 379.4 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.07571, allocations: 59.78 kB / 379.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.476e-05/0.07579, allocations: 71.61 kB / 379.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.07582, allocations: 12 kB / 379.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000583/0.07641, allocations: 411.3 kB / 379.9 MB, free: 472 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.07648, allocations: 43.83 kB / 380 MB, free: 428 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.701e-05/0.07656, allocations: 63.58 kB / 380 MB, free: 364 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.143/0.2195, allocations: 409.9 kB / 380.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2196, allocations: 0 / 380.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2196, allocations: 1.156 kB / 380.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.2196, allocations: 0 / 380.4 MB, free: 10.1 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.0007177/0.2203, allocations: 0.5136 MB / 380.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2204, allocations: 9.656 kB / 380.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.2206, allocations: 30.66 kB / 381 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.2207, allocations: 204 kB / 381.2 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.2208, allocations: 7.734 kB / 381.2 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.2208, allocations: 9.875 kB / 381.2 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.221, allocations: 129.7 kB / 381.3 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.221, allocations: 3.938 kB / 381.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2211, allocations: 4.688 kB / 381.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2211, allocations: 2.031 kB / 381.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.2213, allocations: 63.39 kB / 381.4 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.2219, allocations: 0.5491 MB / 381.9 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.2222, allocations: 151.2 kB / 382.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.2224, allocations: 72.16 kB / 382.2 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.2224, allocations: 1.469 kB / 382.2 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.2227, allocations: 155.1 kB / 382.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.2227, allocations: 0 / 382.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005377/0.2232, allocations: 251.4 kB / 382.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.2233, allocations: 124.4 kB / 382.7 MB, free: 8.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.2234, allocations: 197.4 kB / 382.9 MB, free: 8.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.2235, allocations: 46.12 kB / 382.9 MB, free: 8.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.2235, allocations: 111 kB / 383 MB, free: 8.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.2236, allocations: 42.86 kB / 383.1 MB, free: 8.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.2236, allocations: 60.78 kB / 383.1 MB, free: 8.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.2237, allocations: 329.5 kB / 383.4 MB, free: 8.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.2239, allocations: 98.66 kB / 383.5 MB, free: 8.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.2242, allocations: 150.6 kB / 383.7 MB, free: 8.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.2246, allocations: 229.1 kB / 383.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.2246, allocations: 4.5 kB / 383.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005803/0.2252, allocations: 302 kB / 384.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2252, allocations: 6 kB / 384.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.2252, allocations: 4.078 kB / 384.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2252, allocations: 2.219 kB / 384.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2254, allocations: 32.45 kB / 384.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2254, allocations: 2.375 kB / 384.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.145e-05/0.2255, allocations: 33.3 kB / 384.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.2255, allocations: 11.45 kB / 384.3 MB, free: 7.934 MB / 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.0001015/0.2256, allocations: 149.8 kB / 384.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.2257, allocations: 15.69 kB / 384.5 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.2257, allocations: 17.97 kB / 384.5 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2257, allocations: 2.75 kB / 384.5 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2257, allocations: 1.094 kB / 384.5 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.2258, allocations: 99.34 kB / 384.6 MB, free: 7.688 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.2258, allocations: 11.42 kB / 384.6 MB, free: 7.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.2259, allocations: 13.33 kB / 384.6 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.2259, allocations: 12.62 kB / 384.6 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000413/0.2264, allocations: 432.8 kB / 385 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003701/0.2267, allocations: 0.5166 MB / 385.6 MB, free: 7.062 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001365/0.2269, allocations: 62.41 kB / 385.6 MB, free: 7.062 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.149e-05/0.227, allocations: 144.1 kB / 385.8 MB, free: 6.984 MB / 318.1 MB Notification: Performance of Backend: time 1.002e-06/0.227, allocations: 0 / 385.8 MB, free: 6.984 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.2283, allocations: 450 kB / 386.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004345/0.2288, allocations: 0.6931 MB / 386.9 MB, free: 6.223 MB / 318.1 MB Notification: Performance of Templates: time 0.007527/0.2363, allocations: 3.877 MB / 390.8 MB, free: 5.883 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches