Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008792/0.0008791, allocations: 99.52 kB / 17.01 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009841/0.0009841, allocations: 194 kB / 17.91 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002241/0.0002243, allocations: 8 kB / 307.1 MB, free: 1.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1049, allocations: 51.53 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001845/0.1068, allocations: 1.073 MB / 359.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008337/0.1076, allocations: 344.6 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.1077, allocations: 4 kB / 360 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.1077, allocations: 0 / 360 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.361e-05/0.1078, allocations: 3.938 kB / 360.1 MB, free: 12.24 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0005251/0.1083, allocations: 63.86 kB / 360.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.1084, allocations: 19.94 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.604e-05/0.1085, allocations: 3.984 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.964e-05/0.1085, allocations: 11.98 kB / 360.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.642e-05/0.1086, allocations: 7.938 kB / 360.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1086, allocations: 0 / 360.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.1088, allocations: 71.92 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.1088, allocations: 7.938 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.1088, allocations: 29.69 kB / 360.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.109, allocations: 55.91 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.109, allocations: 0 / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.109, allocations: 4 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.109, allocations: 0 / 360.3 MB, free: 11.96 MB / 302.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.0004192/0.1095, allocations: 343.3 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1095, allocations: 8.031 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.1095, allocations: 4 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.1097, allocations: 175.2 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.1097, allocations: 4 kB / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.1097, allocations: 4 kB / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1099, allocations: 33.66 kB / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1099, allocations: 7.938 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.1099, allocations: 0 / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1099, allocations: 3.938 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.1099, allocations: 7.984 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.1103, allocations: 244.9 kB / 361.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.646e-05/0.1104, allocations: 26.53 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.1104, allocations: 12.92 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1104, allocations: 0 / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.1106, allocations: 55.34 kB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1106, allocations: 0 / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001983/0.1108, allocations: 53.67 kB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.1108, allocations: 51.41 kB / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.1109, allocations: 109.8 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.111, allocations: 29.7 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.111, allocations: 88.08 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.1111, allocations: 7.906 kB / 361.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.1111, allocations: 3.938 kB / 361.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1112, allocations: 310.8 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.1112, allocations: 11.98 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.1113, allocations: 17.72 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.1113, allocations: 16 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1113, allocations: 0 / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.1114, allocations: 61.58 kB / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1115, allocations: 8 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1115, allocations: 384 / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1115, allocations: 0 / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.1116, allocations: 11.98 kB / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1116, allocations: 0 / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.1116, allocations: 7.906 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1116, allocations: 0 / 362 MB, free: 10.05 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,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 9.675e-05/0.1117, allocations: 117.9 kB / 362.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.1118, allocations: 7.953 kB / 362.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.1118, allocations: 3.906 kB / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1118, allocations: 0 / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1118, allocations: 0 / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1118, allocations: 3.984 kB / 362.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.1121, allocations: 286.8 kB / 362.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1121, allocations: 0 / 362.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/0.1121, allocations: 48 / 362.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1121, allocations: 7.984 kB / 362.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1121, allocations: 3.938 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1122, allocations: 4 kB / 362.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1122, allocations: 0 / 362.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.1123, allocations: 147.5 kB / 362.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.1124, allocations: 88.97 kB / 362.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.1124, allocations: 0 / 362.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.139e-05/0.1124, allocations: 0 / 362.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.1125, allocations: 8 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1125, allocations: 7.938 kB / 362.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.982e-05/0.1125, allocations: 83.27 kB / 362.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1125, allocations: 0 / 362.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.1128, allocations: 28 kB / 362.8 MB, free: 9.16 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 (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.0004385/0.1133, allocations: 179.6 kB / 363 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.692e-05/0.1134, allocations: 19.98 kB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1134, allocations: 0 / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.1134, allocations: 11.94 kB / 363 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.1136, allocations: 7.938 kB / 363 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.1139, allocations: 116.7 kB / 363.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1141, allocations: 0.677 MB / 363.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.396e-05/0.1142, allocations: 7.984 kB / 363.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.1142, allocations: 11.44 kB / 363.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1142, allocations: 0 / 363.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of Templates: time 0.00355/0.1178, allocations: 0.9173 MB / 364.7 MB, free: 7.176 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches