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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 107.6 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.3/2.3, allocations: 222.9 MB / 241.8 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 51.17 kB / 300.6 MB, free: 6.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1636, allocations: 49.45 MB / 350.1 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.00504/0.1687, allocations: 1.401 MB / 351.5 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1702, allocations: 360.4 kB / 351.8 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.1702, allocations: 0 / 351.8 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.697e-05/0.1704, allocations: 7.938 kB / 351.8 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.113e-05/0.1705, allocations: 8 kB / 351.8 MB, free: 2.836 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007479/0.1713, allocations: 71.78 kB / 351.9 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.665e-05/0.1714, allocations: 19.88 kB / 351.9 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.1714, allocations: 0 / 351.9 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.545e-05/0.1715, allocations: 7.984 kB / 351.9 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.1715, allocations: 11.92 kB / 351.9 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1716, allocations: 0 / 351.9 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.1719, allocations: 87.84 kB / 352 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.1719, allocations: 0 / 352 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.172, allocations: 7.938 kB / 352 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1722, allocations: 63.91 kB / 352.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1723, allocations: 0 / 352.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1723, allocations: 0 / 352.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.1723, allocations: 0 / 352.1 MB, free: 2.57 MB / 286.1 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.0006376/0.1729, allocations: 349.8 kB / 352.4 MB, free: 2.184 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.173, allocations: 8.031 kB / 352.4 MB, free: 2.176 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.1731, allocations: 4.938 kB / 352.4 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.1733, allocations: 172.5 kB / 352.6 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1733, allocations: 384 / 352.6 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1734, allocations: 4.375 kB / 352.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1735, allocations: 41.81 kB / 352.7 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1735, allocations: 0 / 352.7 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1736, allocations: 0 / 352.7 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1736, allocations: 0 / 352.7 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.186e-05/0.1736, allocations: 11.94 kB / 352.7 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.1742, allocations: 240.9 kB / 352.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.107e-05/0.1743, allocations: 26.58 kB / 352.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.1744, allocations: 12.91 kB / 352.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.1744, allocations: 0 / 352.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.1746, allocations: 59.33 kB / 353 MB, free: 1.496 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.1746, allocations: 0 / 353 MB, free: 1.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002879/0.1749, allocations: 61.81 kB / 353.1 MB, free: 1.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.175, allocations: 55.34 kB / 353.1 MB, free: 1.363 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1751, allocations: 109.8 kB / 353.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1752, allocations: 25.7 kB / 353.2 MB, free: 1.215 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.1752, allocations: 84.14 kB / 353.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.1753, allocations: 11.89 kB / 353.3 MB, free: 1.117 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.1754, allocations: 21.72 kB / 353.4 MB, free: 1.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1755, allocations: 314.8 kB / 353.7 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.648e-05/0.1756, allocations: 7.984 kB / 353.7 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-05/0.1757, allocations: 29.59 kB / 353.7 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.892e-05/0.1758, allocations: 29.72 kB / 353.7 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1758, allocations: 0 / 353.7 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001687/0.176, allocations: 57.53 kB / 353.8 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.176, allocations: 4 kB / 353.8 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.176, allocations: 4 kB / 353.8 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1761, allocations: 0 / 353.8 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1762, allocations: 7.984 kB / 353.8 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1762, allocations: 4.031 kB / 353.8 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.1762, allocations: 8 kB / 353.8 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1763, allocations: 0 / 353.8 MB, free: 0.6055 MB / 286.1 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,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.1764, allocations: 113.8 kB / 353.9 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.1764, allocations: 0 / 353.9 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.1765, allocations: 8.281 kB / 353.9 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.1765, allocations: 7.984 kB / 353.9 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1765, allocations: 0 / 353.9 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1765, allocations: 0 / 353.9 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.177, allocations: 290.5 kB / 354.2 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.177, allocations: 0 / 354.2 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.177, allocations: 4 kB / 354.2 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.177, allocations: 0 / 354.2 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1771, allocations: 0 / 354.2 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1771, allocations: 3.938 kB / 354.2 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1771, allocations: 0 / 354.2 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.1773, allocations: 163.4 kB / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.1774, allocations: 85.11 kB / 354.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1774, allocations: 0 / 354.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.1775, allocations: 0 / 354.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1776, allocations: 0 / 354.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.1776, allocations: 7.938 kB / 354.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.705e-05/0.1777, allocations: 87.27 kB / 354.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1777, allocations: 0 / 354.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000492/0.1782, allocations: 20 kB / 354.6 MB, free: 15.72 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006483/0.1789, allocations: 193.6 kB / 354.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.179, allocations: 23.92 kB / 354.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1791, allocations: 0 / 354.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.1791, allocations: 12.06 kB / 354.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.1795, allocations: 6.031 kB / 354.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.18, allocations: 144.8 kB / 355 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.1804, allocations: 0.6809 MB / 355.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.1804, allocations: 7.438 kB / 355.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1804, allocations: 0 / 355.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of Templates: time 0.004918/0.1854, allocations: 1.144 MB / 356.8 MB, free: 13.48 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches