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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 112.5 kB / 16.51 MB, free: 6.707 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.001223/0.001223, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.526/1.526, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 43.81 kB / 300.1 MB, free: 5.988 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1344, allocations: 49.45 MB / 349.5 MB, free: 4.527 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003704/0.1381, allocations: 1.405 MB / 350.9 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1393, allocations: 364.4 kB / 351.3 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.1394, allocations: 0 / 351.3 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.872e-05/0.1394, allocations: 3.938 kB / 351.3 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.1395, allocations: 0 / 351.3 MB, free: 2.742 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.0005874/0.1401, allocations: 71.86 kB / 351.3 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.314e-05/0.1402, allocations: 27.8 kB / 351.4 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.1403, allocations: 4 kB / 351.4 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.169e-05/0.1403, allocations: 0 / 351.4 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.827e-05/0.1404, allocations: 15.92 kB / 351.4 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1404, allocations: 0 / 351.4 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.1406, allocations: 79.91 kB / 351.5 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.1407, allocations: 7.938 kB / 351.5 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.1407, allocations: 7.938 kB / 351.5 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.1409, allocations: 87.8 kB / 351.6 MB, free: 2.445 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.141, allocations: 0 / 351.6 MB, free: 2.445 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.141, allocations: 4 kB / 351.6 MB, free: 2.441 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.141, allocations: 0 / 351.6 MB, free: 2.441 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.0005399/0.1415, allocations: 347.5 kB / 351.9 MB, free: 2.055 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.1416, allocations: 8.031 kB / 351.9 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.587e-05/0.1416, allocations: 31.03 kB / 352 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.1417, allocations: 8.844 kB / 352 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1418, allocations: 172.3 kB / 352.1 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1419, allocations: 384 / 352.1 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1419, allocations: 4.375 kB / 352.1 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.142, allocations: 45.56 kB / 352.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.142, allocations: 0 / 352.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.142, allocations: 4 kB / 352.2 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.142, allocations: 0 / 352.2 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.297e-05/0.1421, allocations: 4 kB / 352.2 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.1426, allocations: 252.9 kB / 352.4 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.604e-05/0.1428, allocations: 22.58 kB / 352.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.1428, allocations: 20.84 kB / 352.5 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.1428, allocations: 0 / 352.5 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.143, allocations: 55.41 kB / 352.5 MB, free: 1.312 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.143, allocations: 0 / 352.5 MB, free: 1.312 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002498/0.1433, allocations: 57.78 kB / 352.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.1434, allocations: 55.41 kB / 352.6 MB, free: 1.184 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1435, allocations: 113.8 kB / 352.7 MB, free: 1.062 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1435, allocations: 25.7 kB / 352.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.1436, allocations: 80.14 kB / 352.9 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.1436, allocations: 7.906 kB / 352.9 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/0.1437, allocations: 29.7 kB / 352.9 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1439, allocations: 314.8 kB / 353.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/0.1439, allocations: 11.94 kB / 353.2 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.166e-05/0.1439, allocations: 17.72 kB / 353.2 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.144, allocations: 37.7 kB / 353.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.144, allocations: 0 / 353.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001144/0.1441, allocations: 57.56 kB / 353.3 MB, free: 460 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1442, allocations: 4 kB / 353.3 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1442, allocations: 0 / 353.3 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1442, allocations: 4 kB / 353.3 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.1443, allocations: 7.984 kB / 353.3 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1443, allocations: 0 / 353.3 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.1444, allocations: 12.03 kB / 353.3 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1444, allocations: 0 / 353.3 MB, free: 432 kB / 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 0.0001098/0.1445, allocations: 117.7 kB / 353.5 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.1445, allocations: 3.906 kB / 353.5 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.1446, allocations: 7.906 kB / 353.5 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1446, allocations: 4 kB / 353.5 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1446, allocations: 0 / 353.5 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1446, allocations: 3.984 kB / 353.5 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.1449, allocations: 282.6 kB / 353.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.145, allocations: 0 / 353.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.145, allocations: 4 kB / 353.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.145, allocations: 0 / 353.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.145, allocations: 0 / 353.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.145, allocations: 0 / 353.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.145, allocations: 12.25 kB / 353.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.1452, allocations: 147.5 kB / 353.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.1452, allocations: 89.02 kB / 354 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1453, allocations: 0 / 354 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.326e-05/0.1453, allocations: 4 kB / 354 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.1453, allocations: 3.938 kB / 354 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.1454, allocations: 4 kB / 354 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.577e-05/0.1454, allocations: 87.27 kB / 354.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1454, allocations: 3.938 kB / 354.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.1458, allocations: 28 kB / 354.1 MB, free: 15.53 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.001066/0.1468, allocations: 0.7691 MB / 354.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.147, allocations: 23.98 kB / 354.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.147, allocations: 4 kB / 354.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.147, allocations: 11.94 kB / 354.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.1473, allocations: 6.562 kB / 354.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.1485, allocations: 1.229 MB / 356.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1488, allocations: 0.6848 MB / 356.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.681e-05/0.1488, allocations: 7.984 kB / 356.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.1488, allocations: 15.42 kB / 356.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1489, allocations: 0 / 356.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.1627, allocations: 1.774 MB / 358.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.163, allocations: 245.3 kB / 358.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.015, allocations: 0 / 358.9 MB, free: 10.71 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > 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/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_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches