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.001485/0.001485, allocations: 174.9 kB / 13.63 MB, free: 1.684 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.417/1.417, allocations: 221.3 MB / 235.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009468/0.0009467, allocations: 95.97 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.006e-05, allocations: 7.984 kB / 343.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09777, allocations: 50.41 MB / 394.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3078/0.4056, allocations: 76.13 MB / 470.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.4059, allocations: 75.78 kB / 470.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00524/0.4112, allocations: 1.996 MB / 472.4 MB, free: 9.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4112, allocations: 0 / 472.4 MB, free: 9.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4112, allocations: 0 / 472.4 MB, free: 9.352 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.0002915/0.4115, allocations: 350.3 kB / 472.8 MB, free: 8.965 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4115, allocations: 12.02 kB / 472.8 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.4116, allocations: 4.625 kB / 472.8 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.4117, allocations: 163 kB / 473 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4117, allocations: 0 / 473 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.4117, allocations: 4 kB / 473 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.256e-05/0.4118, allocations: 37.69 kB / 473 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4118, allocations: 0 / 473 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.4119, allocations: 4 kB / 473 MB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4119, allocations: 3.953 kB / 473 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.117e-05/0.4119, allocations: 4 kB / 473 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.4122, allocations: 240.9 kB / 473.2 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.034e-05/0.4123, allocations: 26.58 kB / 473.3 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.4123, allocations: 12.92 kB / 473.3 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.4123, allocations: 4 kB / 473.3 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.4124, allocations: 51.36 kB / 473.3 MB, free: 8.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.4124, allocations: 0 / 473.3 MB, free: 8.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001759/0.4126, allocations: 53.61 kB / 473.4 MB, free: 8.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.4127, allocations: 51.41 kB / 473.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.4128, allocations: 112.9 kB / 473.6 MB, free: 8.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.4128, allocations: 25.7 kB / 473.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.4128, allocations: 88.14 kB / 473.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.4129, allocations: 3.906 kB / 473.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.4129, allocations: 0 / 473.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.413, allocations: 314.8 kB / 474 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.413, allocations: 4 kB / 474 MB, free: 7.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.4131, allocations: 25.7 kB / 474 MB, free: 7.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.4131, allocations: 12 kB / 474 MB, free: 7.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4131, allocations: 0 / 474 MB, free: 7.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.562e-05/0.4132, allocations: 64.34 kB / 474.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4132, allocations: 4 kB / 474.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4133, allocations: 0 / 474.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4133, allocations: 3.953 kB / 474.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.378e-05/0.4134, allocations: 11.98 kB / 474.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4134, allocations: 0 / 474.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.4134, allocations: 0 / 474.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.4134, allocations: 11.97 kB / 474.1 MB, free: 7.465 MB / 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 () * 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 9.054e-05/0.4135, allocations: 108.9 kB / 474.2 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.4135, allocations: 7.938 kB / 474.2 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.4136, allocations: 4.031 kB / 474.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4136, allocations: 3.953 kB / 474.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4136, allocations: 0 / 474.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4136, allocations: 0 / 474.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.4139, allocations: 282.6 kB / 474.5 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4139, allocations: 4 kB / 474.5 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.4139, allocations: 0 / 474.5 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4139, allocations: 0 / 474.5 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.4139, allocations: 11.89 kB / 474.5 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4139, allocations: 0 / 474.5 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4139, allocations: 0 / 474.5 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.4141, allocations: 147.5 kB / 474.7 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.4141, allocations: 85.03 kB / 474.7 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.4141, allocations: 0 / 474.7 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/0.4142, allocations: 8.641 kB / 474.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.4142, allocations: 4 kB / 474.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.4143, allocations: 0 / 474.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.646e-05/0.4143, allocations: 83.66 kB / 474.8 MB, free: 6.633 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4143, allocations: 0 / 474.8 MB, free: 6.633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003129/0.4146, allocations: 31.98 kB / 474.9 MB, free: 6.602 MB / 346.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 () * 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.000474/0.4151, allocations: 200.6 kB / 475.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.909e-05/0.4152, allocations: 16 kB / 475.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4152, allocations: 0 / 475.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.674e-05/0.4153, allocations: 8 kB / 475.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.4154, allocations: 0 / 475.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001897/0.4156, allocations: 72.98 kB / 475.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.4158, allocations: 0.6809 MB / 475.8 MB, free: 5.598 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.502e-05/0.4158, allocations: 4 kB / 475.9 MB, free: 5.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.4159, allocations: 11.44 kB / 475.9 MB, free: 5.582 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4159, allocations: 0 / 475.9 MB, free: 5.582 MB / 346.7 MB Notification: Performance of Templates: time 0.003064/0.4189, allocations: 1.112 MB / 477 MB, free: 4.473 MB / 346.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