Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.74/1.74, allocations: 223.3 MB / 241.4 MB, free: 11.71 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.000852/0.0008518, allocations: 90.02 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 11.94 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2375, allocations: 50.4 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09707/0.3347, allocations: 76.24 MB / 479 MB, free: 4.137 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.335, allocations: 75.95 kB / 479 MB, free: 4.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00561/0.3406, allocations: 2.003 MB / 481.1 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3406, allocations: 3.938 kB / 481.1 MB, free: 2.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.3407, allocations: 0.5 kB / 481.1 MB, free: 2.051 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004196/0.3411, allocations: 348.2 kB / 481.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3411, allocations: 16 kB / 481.4 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.3412, allocations: 0.9375 kB / 481.4 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.3413, allocations: 164.4 kB / 481.6 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3413, allocations: 4.375 kB / 481.6 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3413, allocations: 384 / 481.6 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.3414, allocations: 38.2 kB / 481.6 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3415, allocations: 4.188 kB / 481.6 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3415, allocations: 3.938 kB / 481.6 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3415, allocations: 0 / 481.6 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.3415, allocations: 7.984 kB / 481.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.3418, allocations: 246.8 kB / 481.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.141e-05/0.3419, allocations: 22.58 kB / 481.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.3419, allocations: 20.86 kB / 481.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.342, allocations: 0 / 481.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.3421, allocations: 51.41 kB / 482 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.3421, allocations: 0 / 482 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001842/0.3423, allocations: 61.52 kB / 482 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3423, allocations: 51.41 kB / 482.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.3424, allocations: 113.8 kB / 482.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3424, allocations: 29.7 kB / 482.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.3425, allocations: 80.14 kB / 482.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3425, allocations: 7.906 kB / 482.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.3425, allocations: 4 kB / 482.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3426, allocations: 310.8 kB / 482.6 MB, free: 296 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.3427, allocations: 7.984 kB / 482.6 MB, free: 288 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.3427, allocations: 21.72 kB / 482.6 MB, free: 260 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.83e-05/0.3428, allocations: 37.83 kB / 482.7 MB, free: 216 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3428, allocations: 0 / 482.7 MB, free: 216 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.36e-05/0.3429, allocations: 57.56 kB / 482.7 MB, free: 152 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3429, allocations: 4 kB / 482.7 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3429, allocations: 0 / 482.7 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3429, allocations: 11.92 kB / 482.7 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.343, allocations: 4 kB / 482.7 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.343, allocations: 0 / 482.7 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.513e-05/0.343, allocations: 19.91 kB / 482.8 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.343, allocations: 0 / 482.8 MB, free: 112 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001026/0.3431, allocations: 113.8 kB / 482.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.3432, allocations: 3.906 kB / 482.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.3432, allocations: 11.89 kB / 482.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3432, allocations: 0 / 482.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3432, allocations: 4 kB / 482.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3432, allocations: 0 / 482.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.3435, allocations: 286.5 kB / 483.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3435, allocations: 0 / 483.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.3435, allocations: 4 kB / 483.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3435, allocations: 0 / 483.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.3435, allocations: 0 / 483.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.379e-05/0.3435, allocations: 3.984 kB / 483.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3435, allocations: 384 / 483.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.3437, allocations: 151.5 kB / 483.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.3437, allocations: 88.95 kB / 483.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3437, allocations: 0 / 483.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.226e-05/0.3438, allocations: 8 kB / 483.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.3438, allocations: 0 / 483.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3438, allocations: 0 / 483.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.067e-05/0.3439, allocations: 87.27 kB / 483.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3439, allocations: 0 / 483.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.3442, allocations: 31.94 kB / 483.5 MB, free: 15.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004231/0.3446, allocations: 200 kB / 483.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.254e-05/0.3447, allocations: 19.98 kB / 483.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3447, allocations: 0 / 483.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.3448, allocations: 11.94 kB / 483.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.345, allocations: 12.05 kB / 483.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.3453, allocations: 108.7 kB / 483.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.3455, allocations: 0.6809 MB / 484.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.835e-05/0.3456, allocations: 7.984 kB / 484.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.3456, allocations: 7.438 kB / 484.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3456, allocations: 3.938 kB / 484.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Templates: time 0.003628/0.3492, allocations: 1.084 MB / 485.7 MB, free: 13.07 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches