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.0008947/0.0008948, allocations: 91.3 kB / 17.31 MB, free: 5.59 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.001089/0.001089, allocations: 177.7 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.3 MB / 242.2 MB, free: 168 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002354/0.0002355, allocations: 11.94 kB / 302.1 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07347/0.07372, allocations: 50.41 MB / 352.5 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001259/0.07501, allocations: 1.077 MB / 353.6 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006701/0.0757, allocations: 355.7 kB / 353.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.07574, allocations: 4 kB / 353.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.07576, allocations: 3.938 kB / 353.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.157e-05/0.07581, allocations: 0 / 353.9 MB, free: 2.219 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.0003444/0.07616, allocations: 71.86 kB / 354 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.177e-05/0.07621, allocations: 11.94 kB / 354 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.07625, allocations: 4 kB / 354 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.07628, allocations: 11.92 kB / 354 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.127e-05/0.07631, allocations: 3.984 kB / 354 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.405e-06/0.07632, allocations: 3.938 kB / 354 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.07649, allocations: 91.84 kB / 354.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.07651, allocations: 0 / 354.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.07654, allocations: 33.64 kB / 354.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.07666, allocations: 63.89 kB / 354.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.07667, allocations: 0 / 354.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.07668, allocations: 0 / 354.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.07668, allocations: 0 / 354.2 MB, free: 1.922 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.0002996/0.07699, allocations: 346.2 kB / 354.5 MB, free: 1.539 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.07703, allocations: 8.031 kB / 354.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.07706, allocations: 4.938 kB / 354.6 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.771e-05/0.07715, allocations: 164.6 kB / 354.7 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.07717, allocations: 4.375 kB / 354.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.07719, allocations: 4.375 kB / 354.7 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.086e-05/0.07726, allocations: 41.81 kB / 354.8 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-06/0.07727, allocations: 0 / 354.8 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.07729, allocations: 0 / 354.8 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.0773, allocations: 0 / 354.8 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.118e-05/0.07732, allocations: 11.92 kB / 354.8 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.0776, allocations: 244.8 kB / 355 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.115e-05/0.07766, allocations: 30.56 kB / 355.1 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.0777, allocations: 16.86 kB / 355.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.07771, allocations: 0 / 355.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.07782, allocations: 51.34 kB / 355.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.07783, allocations: 0 / 355.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001377/0.07797, allocations: 53.69 kB / 355.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.07801, allocations: 59.41 kB / 355.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.07808, allocations: 113.8 kB / 355.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.0781, allocations: 25.7 kB / 355.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.07814, allocations: 84.14 kB / 355.4 MB, free: 496 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.07816, allocations: 7.891 kB / 355.5 MB, free: 488 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.07819, allocations: 13.72 kB / 355.5 MB, free: 468 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.07828, allocations: 318.8 kB / 355.8 MB, free: 140 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.0783, allocations: 7.938 kB / 355.8 MB, free: 132 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.07834, allocations: 29.7 kB / 355.8 MB, free: 96 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.07839, allocations: 29.72 kB / 355.8 MB, free: 60 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.0784, allocations: 0 / 355.8 MB, free: 60 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001035/0.07851, allocations: 57.58 kB / 355.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.07853, allocations: 11.94 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.07854, allocations: 0 / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.07855, allocations: 0 / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.155e-05/0.07861, allocations: 11.97 kB / 355.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.07862, allocations: 4 kB / 355.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.07864, allocations: 0 / 355.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.07865, allocations: 4 kB / 355.9 MB, free: 15.96 MB / 302.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 6.232e-05/0.07872, allocations: 113.8 kB / 356 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/0.07873, allocations: 0 / 356 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.07876, allocations: 11.91 kB / 356.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.07877, allocations: 0 / 356.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.07878, allocations: 3.984 kB / 356.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.07879, allocations: 7.938 kB / 356.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.07899, allocations: 282.6 kB / 356.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.079, allocations: 0 / 356.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.07902, allocations: 0 / 356.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.07902, allocations: 0 / 356.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.07903, allocations: 0 / 356.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.07904, allocations: 4 kB / 356.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.07905, allocations: 0 / 356.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.07916, allocations: 163.6 kB / 356.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.0792, allocations: 85.05 kB / 356.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.07921, allocations: 0 / 356.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.275e-05/0.07926, allocations: 0 / 356.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.07928, allocations: 0 / 356.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.0793, allocations: 8.312 kB / 356.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.589e-05/0.07934, allocations: 91.27 kB / 356.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.07935, allocations: 0 / 356.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.07962, allocations: 24 kB / 356.7 MB, free: 15.08 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.0003221/0.07995, allocations: 186.6 kB / 356.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.08003, allocations: 27.95 kB / 356.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.08004, allocations: 4.062 kB / 356.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.08007, allocations: 8 kB / 356.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.08028, allocations: 3.938 kB / 356.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.0805, allocations: 142.4 kB / 357.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.0807, allocations: 0.6809 MB / 357.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.08072, allocations: 7.438 kB / 357.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.08072, allocations: 0 / 357.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Templates: time 0.002447/0.08318, allocations: 1.139 MB / 358.9 MB, free: 12.85 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