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.001168/0.001168, allocations: 103 kB / 17.32 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 60.39 kB / 306.4 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1109, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002457/0.1134, allocations: 1.42 MB / 358.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007229/0.1142, allocations: 360.6 kB / 358.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.1142, allocations: 4 kB / 358.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.1143, allocations: 0 / 358.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.938e-05/0.1143, allocations: 3.938 kB / 358.7 MB, free: 12.62 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.0004816/0.1148, allocations: 75.86 kB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.1149, allocations: 19.92 kB / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.1149, allocations: 7.922 kB / 358.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.115, allocations: 15.92 kB / 358.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.59e-05/0.115, allocations: 7.938 kB / 358.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.115, allocations: 0 / 358.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1152, allocations: 87.91 kB / 359 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.1152, allocations: 4 kB / 359 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.1153, allocations: 11.92 kB / 359 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1154, allocations: 83.77 kB / 359 MB, free: 12.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1154, allocations: 0 / 359 MB, free: 12.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1154, allocations: 4 kB / 359.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1155, allocations: 0 / 359.1 MB, free: 12.31 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.0004178/0.1159, allocations: 343.5 kB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1159, allocations: 8.031 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.116, allocations: 4.938 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1161, allocations: 172.5 kB / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1161, allocations: 4.375 kB / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1161, allocations: 4.375 kB / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.1162, allocations: 38.25 kB / 359.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1162, allocations: 192 / 359.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1163, allocations: 3.938 kB / 359.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1163, allocations: 0 / 359.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.1163, allocations: 7.938 kB / 359.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.1166, allocations: 245 kB / 359.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.099e-05/0.1167, allocations: 22.56 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.1167, allocations: 16.86 kB / 359.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.1167, allocations: 0 / 359.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.1168, allocations: 55.34 kB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1168, allocations: 0 / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001588/0.117, allocations: 53.69 kB / 360 MB, free: 11.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1171, allocations: 59.39 kB / 360.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.1171, allocations: 105.8 kB / 360.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1172, allocations: 29.7 kB / 360.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.1172, allocations: 84.12 kB / 360.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.1172, allocations: 3.906 kB / 360.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.1173, allocations: 17.72 kB / 360.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1174, allocations: 322.8 kB / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.1174, allocations: 11.98 kB / 360.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.1174, allocations: 21.66 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.1175, allocations: 26.09 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1175, allocations: 0 / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.549e-05/0.1176, allocations: 65.47 kB / 360.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1176, allocations: 7.984 kB / 360.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1176, allocations: 7.938 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1176, allocations: 8.031 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.1177, allocations: 4 kB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1177, allocations: 0 / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.1177, allocations: 7.938 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.1177, allocations: 0 / 360.8 MB, free: 10.34 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 7.235e-05/0.1178, allocations: 121.7 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.1178, allocations: 0 / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.1179, allocations: 8.125 kB / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1179, allocations: 0 / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1179, allocations: 11.98 kB / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1179, allocations: 0 / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.1181, allocations: 286.5 kB / 361.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1181, allocations: 0 / 361.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.1181, allocations: 4 kB / 361.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1181, allocations: 0 / 361.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1181, allocations: 0 / 361.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.1181, allocations: 3.984 kB / 361.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1181, allocations: 0 / 361.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.1182, allocations: 155.3 kB / 361.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.1183, allocations: 77.11 kB / 361.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1183, allocations: 8 kB / 361.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.044e-05/0.1184, allocations: 0 / 361.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.1184, allocations: 0 / 361.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1184, allocations: 3.984 kB / 361.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.309e-05/0.1184, allocations: 83.28 kB / 361.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1184, allocations: 0 / 361.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1187, allocations: 28 kB / 361.6 MB, free: 9.461 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.0003501/0.1191, allocations: 186.9 kB / 361.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.432e-05/0.1192, allocations: 35.92 kB / 361.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1192, allocations: 0 / 361.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.1192, allocations: 4 kB / 361.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.1194, allocations: 14.45 kB / 361.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.1197, allocations: 117.5 kB / 361.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.1199, allocations: 0.6767 MB / 362.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.838e-05/0.1199, allocations: 12.05 kB / 362.6 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.12, allocations: 11.44 kB / 362.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.12, allocations: 0 / 362.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of Templates: time 0.003067/0.123, allocations: 0.9413 MB / 363.5 MB, free: 7.438 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