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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001693, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 240.3 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007611/0.0007611, allocations: 84.22 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002244/0.0002244, allocations: 4 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2271, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0998/0.327, allocations: 79.08 MB / 480.6 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.3273, allocations: 77.22 kB / 480.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02209/0.3494, allocations: 7.643 MB / 488.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3494, allocations: 4 kB / 488.3 MB, free: 9.652 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.3494, allocations: 4 kB / 488.3 MB, free: 9.648 MB / 362.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.0008823/0.3503, allocations: 0.5104 MB / 488.8 MB, free: 9.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3504, allocations: 12.03 kB / 488.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.3506, allocations: 31.78 kB / 488.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.3508, allocations: 208.6 kB / 489.1 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.3508, allocations: 8 kB / 489.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.3509, allocations: 8 kB / 489.1 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.3511, allocations: 121 kB / 489.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3512, allocations: 12.2 kB / 489.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3512, allocations: 3.953 kB / 489.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3512, allocations: 4 kB / 489.2 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.3514, allocations: 71.95 kB / 489.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006942/0.3521, allocations: 0.5672 MB / 489.9 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.3525, allocations: 163.8 kB / 490 MB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.3525, allocations: 64 / 490 MB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002734/0.3528, allocations: 176.1 kB / 490.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.3528, allocations: 0 / 490.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006408/0.3534, allocations: 435.8 kB / 490.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.3535, allocations: 114.8 kB / 490.7 MB, free: 6.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3537, allocations: 178.3 kB / 490.9 MB, free: 6.777 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.3537, allocations: 41.69 kB / 490.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.3538, allocations: 120.4 kB / 491.1 MB, free: 6.609 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.3539, allocations: 43.72 kB / 491.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.3539, allocations: 3.938 kB / 491.1 MB, free: 6.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.354, allocations: 334.8 kB / 491.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.3542, allocations: 87.81 kB / 491.5 MB, free: 6.141 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.3544, allocations: 139.4 kB / 491.6 MB, free: 5.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.3546, allocations: 112.4 kB / 491.8 MB, free: 5.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3547, allocations: 0 / 491.8 MB, free: 5.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004856/0.3552, allocations: 293.2 kB / 492 MB, free: 5.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3552, allocations: 7.953 kB / 492.1 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.3552, allocations: 4 kB / 492.1 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3552, allocations: 4 kB / 492.1 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.3554, allocations: 31.91 kB / 492.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3554, allocations: 4 kB / 492.1 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.446e-05/0.3555, allocations: 27.94 kB / 492.1 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.3555, allocations: 12 kB / 492.1 MB, free: 5.5 MB / 362.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.0001386/0.3557, allocations: 149.7 kB / 492.3 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.3557, allocations: 15.8 kB / 492.3 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.3557, allocations: 21.36 kB / 492.3 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3558, allocations: 4 kB / 492.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3558, allocations: 0 / 492.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3558, allocations: 4 kB / 492.3 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.356, allocations: 225.5 kB / 492.5 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.356, allocations: 0 / 492.5 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.3561, allocations: 15.92 kB / 492.6 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3561, allocations: 4 kB / 492.6 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3561, allocations: 0 / 492.6 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.3561, allocations: 11.89 kB / 492.6 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3561, allocations: 0 / 492.6 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.3565, allocations: 266 kB / 492.8 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.3566, allocations: 104.8 kB / 492.9 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.3566, allocations: 15.98 kB / 493 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.3567, allocations: 15.92 kB / 493 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.3568, allocations: 11.98 kB / 493 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.3568, allocations: 4 kB / 493 MB, free: 4.527 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.3569, allocations: 137.2 kB / 493.1 MB, free: 4.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.357, allocations: 0 / 493.1 MB, free: 4.395 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006201/0.3576, allocations: 155.8 kB / 493.3 MB, free: 4.242 MB / 362.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.0008831/0.3585, allocations: 400.5 kB / 493.7 MB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004636/0.3589, allocations: 263.1 kB / 493.9 MB, free: 3.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.359, allocations: 0 / 493.9 MB, free: 3.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.3591, allocations: 71.97 kB / 494 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.3593, allocations: 192 / 494 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.3598, allocations: 312.1 kB / 494.3 MB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3601, allocations: 0.724 MB / 495 MB, free: 2.453 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.495e-05/0.3601, allocations: 17.41 kB / 495 MB, free: 2.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.3602, allocations: 19.44 kB / 495.1 MB, free: 2.418 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3602, allocations: 0 / 495.1 MB, free: 2.418 MB / 362.7 MB Notification: Performance of Templates: time 0.007007/0.3672, allocations: 3.502 MB / 498.6 MB, free: 14.93 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches