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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 115.7 kB / 17.33 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.001783/0.001783, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.2 kB / 306.5 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09106/0.09228, allocations: 50.52 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.00232/0.09464, allocations: 1.439 MB / 358.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006496/0.09531, allocations: 352.7 kB / 358.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.09536, allocations: 0 / 358.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.09541, allocations: 3.938 kB / 358.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.09546, allocations: 3.984 kB / 358.9 MB, free: 12.52 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.0004217/0.09589, allocations: 67.88 kB / 358.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.09595, allocations: 23.92 kB / 359 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.09599, allocations: 0 / 359 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.09602, allocations: 19.86 kB / 359 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.382e-05/0.09605, allocations: 7.938 kB / 359 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.09607, allocations: 4 kB / 359 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.09623, allocations: 87.84 kB / 359.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.09625, allocations: 0 / 359.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.09628, allocations: 15.94 kB / 359.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.09644, allocations: 79.81 kB / 359.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.09646, allocations: 7.984 kB / 359.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09646, allocations: 0 / 359.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.09647, allocations: 0 / 359.2 MB, free: 12.21 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.0003448/0.09682, allocations: 342.1 kB / 359.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.09686, allocations: 8.031 kB / 359.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.09692, allocations: 35.03 kB / 359.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.09695, allocations: 8.844 kB / 359.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.74e-05/0.09705, allocations: 172.2 kB / 359.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.09707, allocations: 8.375 kB / 359.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.09709, allocations: 384 / 359.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.215e-05/0.09717, allocations: 38.19 kB / 359.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.09719, allocations: 3.938 kB / 359.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.0972, allocations: 0 / 359.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.09721, allocations: 4 kB / 359.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.09723, allocations: 4 kB / 359.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.09757, allocations: 253 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.855e-05/0.09763, allocations: 30.45 kB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.09766, allocations: 16.91 kB / 360.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-06/0.09767, allocations: 0 / 360.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.0978, allocations: 55.41 kB / 360.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.0978, allocations: 0 / 360.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001533/0.09796, allocations: 53.59 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.098, allocations: 59.34 kB / 360.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.09808, allocations: 105.8 kB / 360.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.0981, allocations: 25.7 kB / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.09814, allocations: 80.14 kB / 360.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.09816, allocations: 11.91 kB / 360.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.0982, allocations: 25.7 kB / 360.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.09829, allocations: 314.8 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.09831, allocations: 4 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.09835, allocations: 25.7 kB / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.09839, allocations: 30.22 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.0984, allocations: 0 / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.604e-05/0.09849, allocations: 61.61 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.09851, allocations: 8 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.09852, allocations: 7.938 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.09854, allocations: 3.938 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.0986, allocations: 11.98 kB / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.09861, allocations: 0 / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.09864, allocations: 7.906 kB / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.09865, allocations: 3.938 kB / 361 MB, free: 10.18 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 6.535e-05/0.09872, allocations: 118.8 kB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.09873, allocations: 8.031 kB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.09876, allocations: 7.906 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.09877, allocations: 0 / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.09878, allocations: 0 / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.09878, allocations: 3.984 kB / 361.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.09899, allocations: 286.6 kB / 361.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.099, allocations: 0 / 361.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.09902, allocations: 0 / 361.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.09902, allocations: 0 / 361.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.09904, allocations: 7.938 kB / 361.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.09904, allocations: 4 kB / 361.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.09905, allocations: 0 / 361.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.917e-05/0.09915, allocations: 151.5 kB / 361.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.09919, allocations: 81.02 kB / 361.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.0992, allocations: 0 / 361.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.09925, allocations: 0 / 361.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.09927, allocations: 4 kB / 361.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.09928, allocations: 0 / 361.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.892e-05/0.09933, allocations: 95.2 kB / 361.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09933, allocations: 0 / 361.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.09958, allocations: 24 kB / 361.7 MB, free: 9.301 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.0005748/0.1002, allocations: 0.7765 MB / 362.5 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.623e-05/0.1003, allocations: 23.98 kB / 362.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1003, allocations: 4 kB / 362.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.517e-05/0.1003, allocations: 11.94 kB / 362.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.1005, allocations: 0 / 362.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/0.1014, allocations: 1.235 MB / 363.8 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.1016, allocations: 0.6768 MB / 364.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.525e-05/0.1016, allocations: 4 kB / 364.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.1017, allocations: 15.42 kB / 364.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1017, allocations: 4 kB / 364.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1616/0.2633, allocations: 1.813 MB / 366.3 MB, free: 4.738 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/0.2635, allocations: 233 kB / 366.5 MB, free: 4.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.129, allocations: 3.938 kB / 366.5 MB, free: 4.477 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > 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.0.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