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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009827/0.0009829, allocations: 94.59 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002566, allocations: 12 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2422, allocations: 47.56 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3444, allocations: 78.24 MB / 454 MB, free: 2.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.3448, allocations: 71.95 kB / 454.1 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02285/0.3676, allocations: 7.557 MB / 461.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3677, allocations: 0 / 461.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.3677, allocations: 4 kB / 461.7 MB, free: 10.79 MB / 346.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.0009787/0.3687, allocations: 0.5221 MB / 462.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.3687, allocations: 12.03 kB / 462.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.369, allocations: 27.8 kB / 462.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.3692, allocations: 200.2 kB / 462.4 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.3693, allocations: 11.95 kB / 462.4 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.3693, allocations: 4 kB / 462.5 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.3696, allocations: 132.2 kB / 462.6 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3696, allocations: 7.938 kB / 462.6 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.3697, allocations: 3.984 kB / 462.6 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.3697, allocations: 4 kB / 462.6 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.3699, allocations: 71.95 kB / 462.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008163/0.3707, allocations: 0.575 MB / 463.2 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.3711, allocations: 163.8 kB / 463.4 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.3711, allocations: 4.062 kB / 463.4 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.3714, allocations: 157.8 kB / 463.6 MB, free: 8.699 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.3714, allocations: 0 / 463.6 MB, free: 8.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007369/0.3722, allocations: 431.9 kB / 464 MB, free: 8.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.376e-05/0.3723, allocations: 118.8 kB / 464.1 MB, free: 8.094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.3725, allocations: 178.2 kB / 464.3 MB, free: 7.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.3725, allocations: 45.69 kB / 464.3 MB, free: 7.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3727, allocations: 108.6 kB / 464.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.3727, allocations: 43.53 kB / 464.5 MB, free: 7.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.3727, allocations: 11.88 kB / 464.5 MB, free: 7.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3729, allocations: 334.8 kB / 464.8 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.3732, allocations: 99.95 kB / 464.9 MB, free: 7.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.3734, allocations: 133.6 kB / 465 MB, free: 7.125 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.3737, allocations: 109 kB / 465.1 MB, free: 7.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3737, allocations: 0 / 465.1 MB, free: 7.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006136/0.3743, allocations: 305.2 kB / 465.4 MB, free: 6.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.3744, allocations: 8 kB / 465.4 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.3744, allocations: 0 / 465.4 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.3744, allocations: 4 kB / 465.4 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.3746, allocations: 27.92 kB / 465.5 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.3746, allocations: 7.984 kB / 465.5 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.3748, allocations: 23.78 kB / 465.5 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.3748, allocations: 12 kB / 465.5 MB, free: 6.633 MB / 346.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,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002337/0.3751, allocations: 153.7 kB / 465.7 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.3751, allocations: 15.81 kB / 465.7 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.3752, allocations: 17.39 kB / 465.7 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3752, allocations: 4 kB / 465.7 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.3752, allocations: 96 / 465.7 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3752, allocations: 3.984 kB / 465.7 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.3755, allocations: 229.4 kB / 465.9 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3756, allocations: 0 / 465.9 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.3756, allocations: 15.94 kB / 465.9 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.166e-05/0.3757, allocations: 7.984 kB / 466 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3757, allocations: 0 / 466 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3757, allocations: 4 kB / 466 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3757, allocations: 0 / 466 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.3762, allocations: 270.8 kB / 466.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.3763, allocations: 96.86 kB / 466.3 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.3764, allocations: 11.98 kB / 466.3 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.3764, allocations: 15.94 kB / 466.3 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.3765, allocations: 15.97 kB / 466.4 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.3766, allocations: 12 kB / 466.4 MB, free: 5.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.3767, allocations: 137.2 kB / 466.5 MB, free: 5.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3767, allocations: 0 / 466.5 MB, free: 5.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007211/0.3774, allocations: 159.7 kB / 466.7 MB, free: 5.363 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/0.3785, allocations: 410.3 kB / 467.1 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000568/0.3791, allocations: 260.1 kB / 467.3 MB, free: 4.723 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3791, allocations: 0 / 467.3 MB, free: 4.723 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.3793, allocations: 68.22 kB / 467.4 MB, free: 4.656 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.3794, allocations: 10.84 kB / 467.4 MB, free: 4.645 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.38, allocations: 308.6 kB / 467.7 MB, free: 4.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.3804, allocations: 0.7201 MB / 468.4 MB, free: 3.566 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.095e-05/0.3804, allocations: 25.41 kB / 468.4 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.3805, allocations: 15.44 kB / 468.5 MB, free: 3.527 MB / 346.7 MB Notification: Performance of SimCode: time 1.934e-06/0.3805, allocations: 0 / 468.5 MB, free: 3.527 MB / 346.7 MB Notification: Performance of Templates: time 0.007792/0.3883, allocations: 3.544 MB / 472 MB, free: 15.98 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches