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.001186/0.001187, allocations: 104.5 kB / 16.62 MB, free: 6.805 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.001147/0.001147, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.376/1.376, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 46.52 kB / 300.1 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.1007, allocations: 49.45 MB / 349.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002899/0.1036, allocations: 1.397 MB / 351 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000815/0.1045, allocations: 364.4 kB / 351.3 MB, free: 3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.1045, allocations: 0 / 351.3 MB, free: 3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.1046, allocations: 3.938 kB / 351.3 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.057e-05/0.1047, allocations: 0 / 351.3 MB, free: 2.996 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.0006101/0.1053, allocations: 75.86 kB / 351.4 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.297e-05/0.1054, allocations: 23.92 kB / 351.4 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.991e-05/0.1054, allocations: 3.984 kB / 351.4 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.1055, allocations: 7.938 kB / 351.4 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.633e-05/0.1055, allocations: 7.922 kB / 351.4 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.1055, allocations: 4 kB / 351.5 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.1057, allocations: 87.84 kB / 351.5 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.1057, allocations: 11.94 kB / 351.5 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.1058, allocations: 11.92 kB / 351.6 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.106, allocations: 79.83 kB / 351.6 MB, free: 2.688 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.106, allocations: 0 / 351.6 MB, free: 2.688 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.106, allocations: 0 / 351.6 MB, free: 2.688 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.106, allocations: 4 kB / 351.6 MB, free: 2.684 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.0004099/0.1064, allocations: 343.5 kB / 352 MB, free: 2.301 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1065, allocations: 8.031 kB / 352 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1065, allocations: 4.938 kB / 352 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1066, allocations: 172.5 kB / 352.2 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.1067, allocations: 8.375 kB / 352.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.1067, allocations: 4.375 kB / 352.2 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.97e-05/0.1068, allocations: 41.75 kB / 352.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1068, allocations: 3.938 kB / 352.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1068, allocations: 0 / 352.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1068, allocations: 0 / 352.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.584e-05/0.1069, allocations: 4 kB / 352.2 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.1072, allocations: 248.9 kB / 352.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.635e-05/0.1073, allocations: 22.58 kB / 352.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.1073, allocations: 12.91 kB / 352.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.1073, allocations: 3.938 kB / 352.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.1075, allocations: 51.41 kB / 352.6 MB, free: 1.609 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 3.066e-06/0.1075, allocations: 4 kB / 352.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001855/0.1077, allocations: 49.69 kB / 352.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1077, allocations: 55.41 kB / 352.7 MB, free: 1.484 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.1078, allocations: 109.8 kB / 352.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1078, allocations: 25.7 kB / 352.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.1079, allocations: 84.08 kB / 352.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.1079, allocations: 11.89 kB / 352.9 MB, free: 1.238 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.1079, allocations: 17.7 kB / 352.9 MB, free: 1.215 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1081, allocations: 326.8 kB / 353.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.1081, allocations: 4 kB / 353.2 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.1081, allocations: 21.7 kB / 353.2 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.1082, allocations: 29.72 kB / 353.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1082, allocations: 0 / 353.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.512e-05/0.1083, allocations: 57.53 kB / 353.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1083, allocations: 4 kB / 353.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1083, allocations: 4.031 kB / 353.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1084, allocations: 4 kB / 353.3 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.1084, allocations: 7.984 kB / 353.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1084, allocations: 0 / 353.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.1085, allocations: 7.938 kB / 353.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1085, allocations: 7.938 kB / 353.4 MB, free: 0.7227 MB / 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.208e-05/0.1086, allocations: 121.7 kB / 353.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.1086, allocations: 240 / 353.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.1086, allocations: 7.906 kB / 353.5 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1086, allocations: 11.97 kB / 353.5 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1086, allocations: 4 kB / 353.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1086, allocations: 0 / 353.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.1089, allocations: 278.6 kB / 353.8 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1089, allocations: 384 / 353.8 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.1089, allocations: 4 kB / 353.8 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1089, allocations: 0 / 353.8 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1089, allocations: 4 kB / 353.8 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1089, allocations: 0 / 353.8 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1089, allocations: 0 / 353.8 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.1091, allocations: 163.3 kB / 353.9 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.1091, allocations: 77.11 kB / 354 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1092, allocations: 4 kB / 354 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.241e-05/0.1092, allocations: 0 / 354 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.1092, allocations: 0 / 354 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1092, allocations: 3.938 kB / 354 MB, free: 15.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.89e-05/0.1093, allocations: 91.27 kB / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1093, allocations: 4 kB / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1096, allocations: 20 kB / 354.1 MB, free: 15.84 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.0003898/0.11, allocations: 191 kB / 354.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.1101, allocations: 27.92 kB / 354.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1101, allocations: 0 / 354.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.714e-05/0.1102, allocations: 7.938 kB / 354.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.1104, allocations: 8 kB / 354.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.1108, allocations: 113.5 kB / 354.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1111, allocations: 0.6768 MB / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.346e-05/0.1111, allocations: 16.05 kB / 355.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.1112, allocations: 11.38 kB / 355.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1112, allocations: 0 / 355.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of Templates: time 0.003522/0.1147, allocations: 0.9455 MB / 356.1 MB, free: 13.81 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/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_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches