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.001092/0.001092, allocations: 181.9 kB / 16.39 MB, free: 5.762 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.329/1.329, allocations: 223.2 MB / 240.3 MB, free: 10.13 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.0008721/0.0008721, allocations: 101.5 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003373, allocations: 7.938 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2693, allocations: 50.41 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09877/0.3682, allocations: 76.21 MB / 477.7 MB, free: 4.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.3686, allocations: 71.95 kB / 477.8 MB, free: 4.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006049/0.3746, allocations: 2.007 MB / 479.8 MB, free: 2.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3747, allocations: 0 / 479.8 MB, free: 2.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3747, allocations: 4 kB / 479.8 MB, free: 2.16 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.0003982/0.3751, allocations: 353.9 kB / 480.1 MB, free: 1.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.3752, allocations: 8.031 kB / 480.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.3752, allocations: 0 / 480.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.3754, allocations: 163.1 kB / 480.3 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3754, allocations: 0 / 480.3 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.3754, allocations: 0 / 480.3 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.3755, allocations: 48.53 kB / 480.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3755, allocations: 3.938 kB / 480.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3755, allocations: 4 kB / 480.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3756, allocations: 3.953 kB / 480.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.3756, allocations: 0 / 480.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.3759, allocations: 243.7 kB / 480.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.74e-05/0.376, allocations: 22.58 kB / 480.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.376, allocations: 0 / 480.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.3762, allocations: 63.39 kB / 480.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3762, allocations: 0 / 480.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001861/0.3764, allocations: 61.55 kB / 480.7 MB, free: 1.043 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3764, allocations: 51.41 kB / 480.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.3765, allocations: 101 kB / 480.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3765, allocations: 25.7 kB / 480.9 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.3766, allocations: 80.14 kB / 481 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.3766, allocations: 7.906 kB / 481 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.3766, allocations: 7.938 kB / 481 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3768, allocations: 314.8 kB / 481.3 MB, free: 440 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.3768, allocations: 8 kB / 481.3 MB, free: 432 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.03e-05/0.3768, allocations: 17.7 kB / 481.3 MB, free: 408 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/0.3769, allocations: 8 kB / 481.3 MB, free: 400 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3769, allocations: 0 / 481.3 MB, free: 400 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.596e-05/0.377, allocations: 65.8 kB / 481.4 MB, free: 328 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.377, allocations: 4.938 kB / 481.4 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.377, allocations: 3.984 kB / 481.4 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.377, allocations: 7.984 kB / 481.4 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.3771, allocations: 11.98 kB / 481.4 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3771, allocations: 0 / 481.4 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.3772, allocations: 8.25 kB / 481.4 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3772, allocations: 4 kB / 481.4 MB, free: 288 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 7.768e-05/0.3773, allocations: 109.8 kB / 481.6 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.3773, allocations: 7.906 kB / 481.6 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.3773, allocations: 3.906 kB / 481.6 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3773, allocations: 4 kB / 481.6 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3773, allocations: 7.953 kB / 481.6 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3773, allocations: 3.984 kB / 481.6 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.3776, allocations: 286.6 kB / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3776, allocations: 0 / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.3776, allocations: 0 / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3776, allocations: 7.938 kB / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3777, allocations: 7.953 kB / 481.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3777, allocations: 0 / 481.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3777, allocations: 0 / 481.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.3778, allocations: 147.5 kB / 482 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.3779, allocations: 81.05 kB / 482.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.3779, allocations: 0 / 482.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.381e-05/0.3779, allocations: 3.953 kB / 482.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.378, allocations: 8 kB / 482.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.378, allocations: 0 / 482.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.065e-05/0.378, allocations: 83.27 kB / 482.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.378, allocations: 4 kB / 482.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000272/0.3783, allocations: 39.94 kB / 482.2 MB, free: 15.38 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.000481/0.3788, allocations: 183.7 kB / 482.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.3789, allocations: 27.92 kB / 482.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3789, allocations: 0 / 482.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.379, allocations: 11.94 kB / 482.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.3791, allocations: 4 kB / 482.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.3794, allocations: 108.7 kB / 482.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3797, allocations: 0.6848 MB / 483.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.224e-05/0.3798, allocations: 12.05 kB / 483.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.3798, allocations: 7.438 kB / 483.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3798, allocations: 0 / 483.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Templates: time 0.003706/0.3835, allocations: 1.095 MB / 484.4 MB, free: 13.22 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/jenkins/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