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.00131/0.00131, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247.5 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 68.02 kB / 307.6 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1102, allocations: 50.55 MB / 358.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002766/0.113, allocations: 1.332 MB / 359.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007906/0.1138, allocations: 360.6 kB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.1138, allocations: 0 / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.1139, allocations: 0 / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.005e-05/0.1139, allocations: 3.938 kB / 359.9 MB, free: 12.37 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.0005051/0.1145, allocations: 91.72 kB / 360 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.1145, allocations: 11.94 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.592e-05/0.1146, allocations: 4 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.1147, allocations: 15.91 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.56e-05/0.1147, allocations: 7.938 kB / 360 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1147, allocations: 4 kB / 360 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.1149, allocations: 79.91 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.1149, allocations: 8 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.115, allocations: 3.938 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1152, allocations: 91.75 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1152, allocations: 4 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1152, allocations: 0 / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1152, allocations: 0 / 360.2 MB, free: 12.05 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.0004843/0.1157, allocations: 347.5 kB / 360.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1157, allocations: 11.97 kB / 360.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.1158, allocations: 0.9375 kB / 360.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1159, allocations: 172.5 kB / 360.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.116, allocations: 384 / 360.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.116, allocations: 8.297 kB / 360.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.402e-05/0.1161, allocations: 42.25 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1161, allocations: 4.188 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1161, allocations: 3.938 kB / 360.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1161, allocations: 0 / 360.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.1161, allocations: 3.938 kB / 360.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.1166, allocations: 241 kB / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.271e-05/0.1166, allocations: 26.58 kB / 361 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.1167, allocations: 20.84 kB / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.1167, allocations: 0 / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.1169, allocations: 51.34 kB / 361.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1169, allocations: 0 / 361.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001764/0.117, allocations: 53.69 kB / 361.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.1171, allocations: 51.41 kB / 361.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.1172, allocations: 109.8 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1172, allocations: 25.7 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.1173, allocations: 88.14 kB / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.1173, allocations: 7.891 kB / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.1174, allocations: 17.72 kB / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1175, allocations: 314.8 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.1175, allocations: 11.98 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.1176, allocations: 21.72 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.1176, allocations: 25.66 kB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1177, allocations: 0 / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001125/0.1178, allocations: 69.84 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1178, allocations: 4 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1178, allocations: 0 / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1178, allocations: 3.984 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.1179, allocations: 12 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1179, allocations: 3.984 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.1179, allocations: 7.969 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.1179, allocations: 4 kB / 361.9 MB, free: 10.09 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 9.289e-05/0.118, allocations: 113.8 kB / 362 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.1181, allocations: 4 kB / 362 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.1181, allocations: 11.83 kB / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1181, allocations: 0 / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1181, allocations: 0 / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1181, allocations: 0 / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1184, allocations: 294.7 kB / 362.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1184, allocations: 48 / 362.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.1184, allocations: 7.984 kB / 362.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.1184, allocations: 0 / 362.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1184, allocations: 0 / 362.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1185, allocations: 0 / 362.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1185, allocations: 0 / 362.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.1186, allocations: 159.3 kB / 362.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.1187, allocations: 81.11 kB / 362.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.1187, allocations: 0 / 362.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.59e-05/0.1188, allocations: 4 kB / 362.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.1188, allocations: 4 kB / 362.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1188, allocations: 0 / 362.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.1189, allocations: 83.27 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1189, allocations: 0 / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1191, allocations: 28 kB / 362.7 MB, free: 9.203 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.000448/0.1196, allocations: 178.8 kB / 362.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.1197, allocations: 27.86 kB / 362.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1197, allocations: 4 kB / 362.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.012e-05/0.1198, allocations: 8.062 kB / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.12, allocations: 7.984 kB / 362.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.1203, allocations: 135.2 kB / 363 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1207, allocations: 0.6806 MB / 363.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.1207, allocations: 19.36 kB / 363.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1207, allocations: 0 / 363.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of Templates: time 0.003244/0.124, allocations: 1.152 MB / 364.9 MB, free: 6.949 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches