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.001395/0.001395, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001573/0.001573, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.315/1.315, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001199/0.001199, allocations: 47.94 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08146/0.08267, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002602/0.08531, allocations: 1.53 MB / 377.3 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.08766, allocations: 1.455 MB / 378.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.08777, allocations: 0 / 378.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.901e-05/0.0879, allocations: 11.81 kB / 378.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.08801, allocations: 27.8 kB / 378.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.08911, allocations: 390.8 kB / 379.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.0893, allocations: 135.6 kB / 379.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.08936, allocations: 9.5 kB / 379.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.08944, allocations: 55.78 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.08952, allocations: 75.61 kB / 379.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.08956, allocations: 12 kB / 379.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006564/0.09022, allocations: 411.3 kB / 379.9 MB, free: 484 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.09029, allocations: 39.83 kB / 379.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.852e-05/0.09037, allocations: 67.58 kB / 380 MB, free: 376 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1776/0.268, allocations: 411.7 kB / 380.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.268, allocations: 0 / 380.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.268, allocations: 0 / 380.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.268, allocations: 0 / 380.4 MB, free: 10.09 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.001067/0.2691, allocations: 0.5086 MB / 380.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2692, allocations: 9.031 kB / 380.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.2695, allocations: 30.33 kB / 381 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.2697, allocations: 210.6 kB / 381.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.2698, allocations: 6.938 kB / 381.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.2698, allocations: 10.7 kB / 381.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.2701, allocations: 130.8 kB / 381.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2701, allocations: 3.938 kB / 381.3 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.2701, allocations: 2.141 kB / 381.3 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2702, allocations: 1.812 kB / 381.3 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.2704, allocations: 66.03 kB / 381.4 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.2712, allocations: 0.5486 MB / 381.9 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.2715, allocations: 151.4 kB / 382.1 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.2717, allocations: 69.02 kB / 382.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.2717, allocations: 5.844 kB / 382.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003524/0.2721, allocations: 151.5 kB / 382.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.873e-06/0.2721, allocations: 0 / 382.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005902/0.2727, allocations: 257.8 kB / 382.5 MB, free: 8.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.2727, allocations: 114.3 kB / 382.7 MB, free: 8.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.2729, allocations: 196.1 kB / 382.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.273, allocations: 47.19 kB / 382.9 MB, free: 8.512 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.273, allocations: 112.4 kB / 383 MB, free: 8.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.2731, allocations: 44.25 kB / 383.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/0.2732, allocations: 55.03 kB / 383.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.2732, allocations: 336 kB / 383.4 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.2735, allocations: 102.5 kB / 383.5 MB, free: 8.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.2738, allocations: 149.8 kB / 383.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.2743, allocations: 225.2 kB / 383.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2743, allocations: 0.5312 kB / 383.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006361/0.2749, allocations: 310.6 kB / 384.2 MB, free: 7.945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.2749, allocations: 9.469 kB / 384.2 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/0.275, allocations: 3.031 kB / 384.2 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.275, allocations: 2.094 kB / 384.2 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.2752, allocations: 34.5 kB / 384.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2752, allocations: 3.219 kB / 384.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.2753, allocations: 26.91 kB / 384.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.2753, allocations: 7.625 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.0001778/0.2755, allocations: 158.5 kB / 384.4 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.2756, allocations: 15.33 kB / 384.5 MB, free: 7.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.2756, allocations: 16.92 kB / 384.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.2756, allocations: 5.734 kB / 384.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.2757, allocations: 0 / 384.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2757, allocations: 2.016 kB / 384.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.2759, allocations: 219 kB / 384.7 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.2759, allocations: 4 kB / 384.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-05/0.276, allocations: 14.89 kB / 384.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.276, allocations: 2.188 kB / 384.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.2761, allocations: 2.984 kB / 384.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2761, allocations: 1.531 kB / 384.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2761, allocations: 1.344 kB / 384.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.2766, allocations: 243.9 kB / 385 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.2766, allocations: 91.06 kB / 385 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.2767, allocations: 12.88 kB / 385.1 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.2768, allocations: 10.66 kB / 385.1 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.2769, allocations: 12.88 kB / 385.1 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.2769, allocations: 8.375 kB / 385.1 MB, free: 7.395 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.277, allocations: 140.8 kB / 385.2 MB, free: 7.316 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.277, allocations: 7.562 kB / 385.2 MB, free: 7.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005377/0.2776, allocations: 130.3 kB / 385.4 MB, free: 7.289 MB / 318.1 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.0008427/0.2784, allocations: 343 kB / 385.7 MB, free: 7.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004519/0.2789, allocations: 203.4 kB / 385.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2789, allocations: 192 / 385.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.2791, allocations: 70.5 kB / 386 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.2793, allocations: 11.66 kB / 386 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.2798, allocations: 299.3 kB / 386.3 MB, free: 6.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.28, allocations: 0.7307 MB / 387 MB, free: 6.215 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.28, allocations: 16.77 kB / 387 MB, free: 6.207 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.28, allocations: 0 / 387 MB, free: 6.207 MB / 318.1 MB Notification: Performance of Templates: time 0.009032/0.2891, allocations: 4.018 MB / 391 MB, free: 5.773 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