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.001208/0.001208, allocations: 102.6 kB / 17.59 MB, free: 5.422 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.001456/0.001456, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.384/1.384, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 48.27 kB / 301.3 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1044, allocations: 49.45 MB / 350.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002843/0.1073, allocations: 1.326 MB / 352.1 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.1082, allocations: 352.3 kB / 352.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.1083, allocations: 4 kB / 352.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.1083, allocations: 0 / 352.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.1084, allocations: 3.938 kB / 352.4 MB, free: 2.707 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.0005753/0.109, allocations: 91.7 kB / 352.5 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.751e-05/0.1091, allocations: 12 kB / 352.5 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.1091, allocations: 4 kB / 352.5 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.764e-05/0.1091, allocations: 11.86 kB / 352.5 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.61e-05/0.1092, allocations: 11.94 kB / 352.5 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1092, allocations: 4 kB / 352.5 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.1094, allocations: 83.91 kB / 352.6 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.1094, allocations: 3.984 kB / 352.6 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.1095, allocations: 11.94 kB / 352.6 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1097, allocations: 79.83 kB / 352.7 MB, free: 2.398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1097, allocations: 0 / 352.7 MB, free: 2.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1097, allocations: 0 / 352.7 MB, free: 2.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1097, allocations: 0 / 352.7 MB, free: 2.398 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.0004612/0.1102, allocations: 355.3 kB / 353.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1102, allocations: 12.03 kB / 353.1 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.1103, allocations: 4.938 kB / 353.1 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1104, allocations: 176.5 kB / 353.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1104, allocations: 384 / 353.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.1105, allocations: 384 / 353.3 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.066e-05/0.1106, allocations: 41.75 kB / 353.3 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1106, allocations: 0 / 353.3 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1106, allocations: 0 / 353.3 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1106, allocations: 4 kB / 353.3 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.371e-05/0.1106, allocations: 8 kB / 353.3 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.111, allocations: 248.8 kB / 353.5 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.931e-05/0.111, allocations: 26.58 kB / 353.6 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.1111, allocations: 12.91 kB / 353.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.852e-06/0.1111, allocations: 0 / 353.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.1113, allocations: 55.41 kB / 353.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.1113, allocations: 0 / 353.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001789/0.1114, allocations: 57.62 kB / 353.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1115, allocations: 51.41 kB / 353.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.1116, allocations: 105.8 kB / 353.8 MB, free: 1.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1116, allocations: 25.7 kB / 353.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.1117, allocations: 88.14 kB / 354 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.1117, allocations: 3.906 kB / 354 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.1117, allocations: 21.7 kB / 354 MB, free: 0.918 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1119, allocations: 318.8 kB / 354.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.1119, allocations: 8 kB / 354.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.18e-05/0.1119, allocations: 21.7 kB / 354.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.689e-05/0.112, allocations: 29.66 kB / 354.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.112, allocations: 0 / 354.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001091/0.1121, allocations: 61.53 kB / 354.4 MB, free: 472 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1121, allocations: 12.03 kB / 354.4 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1121, allocations: 0 / 354.4 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1122, allocations: 0 / 354.4 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.1122, allocations: 12.22 kB / 354.4 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1122, allocations: 0 / 354.4 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.1123, allocations: 3.938 kB / 354.4 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1123, allocations: 7.984 kB / 354.4 MB, free: 436 kB / 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 7.936e-05/0.1124, allocations: 109.8 kB / 354.6 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.1124, allocations: 15.92 kB / 354.6 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.1124, allocations: 7.906 kB / 354.6 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1124, allocations: 3.984 kB / 354.6 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1124, allocations: 0 / 354.6 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1125, allocations: 0 / 354.6 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.1127, allocations: 286.5 kB / 354.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1128, allocations: 0 / 354.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.1128, allocations: 0 / 354.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1128, allocations: 0 / 354.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1128, allocations: 4.375 kB / 354.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1128, allocations: 0 / 354.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1128, allocations: 8 kB / 354.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.1129, allocations: 155.4 kB / 355 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.113, allocations: 77.11 kB / 355.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.113, allocations: 0 / 355.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.578e-05/0.1131, allocations: 3.938 kB / 355.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.1131, allocations: 4 kB / 355.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1131, allocations: 3.938 kB / 355.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.633e-05/0.1132, allocations: 91.27 kB / 355.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1132, allocations: 0 / 355.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.1135, allocations: 28 kB / 355.2 MB, free: 15.54 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.0003846/0.1139, allocations: 179.1 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.114, allocations: 19.98 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.114, allocations: 3.938 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.114, allocations: 15.94 kB / 355.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.1143, allocations: 2.812 kB / 355.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.1146, allocations: 131.2 kB / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1148, allocations: 0.6846 MB / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.1149, allocations: 7.438 kB / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1149, allocations: 0 / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Templates: time 0.002975/0.1178, allocations: 1.171 MB / 357.4 MB, free: 13.28 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