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.000996/0.0009961, allocations: 91.36 kB / 16.65 MB, free: 6.234 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.001199/0.001199, allocations: 177.5 kB / 17.56 MB, free: 5.848 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.569/1.569, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002991, allocations: 8.188 kB / 301.5 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 50.4 MB / 351.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002079/0.1465, allocations: 1.081 MB / 353 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1476, allocations: 355.7 kB / 353.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.1477, allocations: 3.938 kB / 353.4 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.1478, allocations: 0 / 353.4 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.27e-05/0.1479, allocations: 0 / 353.4 MB, free: 1.934 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.0006946/0.1486, allocations: 71.86 kB / 353.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.583e-05/0.1487, allocations: 11.94 kB / 353.4 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.13e-05/0.1487, allocations: 11.98 kB / 353.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.645e-05/0.1488, allocations: 7.938 kB / 353.5 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.143e-05/0.1488, allocations: 3.938 kB / 353.5 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1489, allocations: 4 kB / 353.5 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.1491, allocations: 87.84 kB / 353.6 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.1492, allocations: 7.984 kB / 353.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.1492, allocations: 29.64 kB / 353.6 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1495, allocations: 83.81 kB / 353.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1495, allocations: 0 / 353.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.1495, allocations: 0 / 353.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1495, allocations: 0 / 353.7 MB, free: 1.613 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.0004912/0.15, allocations: 339.5 kB / 354 MB, free: 1.234 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.1501, allocations: 8.031 kB / 354 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.1502, allocations: 39.03 kB / 354.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.1502, allocations: 0.9375 kB / 354.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.1503, allocations: 172.2 kB / 354.2 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.1504, allocations: 12.3 kB / 354.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.1504, allocations: 4.375 kB / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.1505, allocations: 33.64 kB / 354.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1505, allocations: 7.922 kB / 354.3 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1505, allocations: 7.938 kB / 354.3 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1506, allocations: 0 / 354.3 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.94e-05/0.1506, allocations: 8 kB / 354.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.1511, allocations: 256.9 kB / 354.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.879e-05/0.1512, allocations: 26.52 kB / 354.6 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.1512, allocations: 12.92 kB / 354.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.1512, allocations: 0 / 354.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.1514, allocations: 59.39 kB / 354.6 MB, free: 484 kB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.1514, allocations: 0 / 354.6 MB, free: 484 kB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002036/0.1516, allocations: 53.62 kB / 354.7 MB, free: 424 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.1517, allocations: 51.41 kB / 354.7 MB, free: 360 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1518, allocations: 113.8 kB / 354.9 MB, free: 236 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1519, allocations: 29.7 kB / 354.9 MB, free: 200 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.1519, allocations: 84.14 kB / 355 MB, free: 112 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.1519, allocations: 3.906 kB / 355 MB, free: 108 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.152, allocations: 17.72 kB / 355 MB, free: 84 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1522, allocations: 322.8 kB / 355.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.1522, allocations: 8 kB / 355.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.1522, allocations: 17.72 kB / 355.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.969e-05/0.1523, allocations: 33.64 kB / 355.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1523, allocations: 4 kB / 355.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000114/0.1524, allocations: 53.72 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1525, allocations: 8 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1525, allocations: 0 / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1525, allocations: 4 kB / 355.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.1526, allocations: 7.938 kB / 355.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1526, allocations: 0 / 355.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.1526, allocations: 7.938 kB / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1526, allocations: 0 / 355.4 MB, free: 15.6 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 0.0001027/0.1527, allocations: 121.8 kB / 355.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.1527, allocations: 3.906 kB / 355.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.1528, allocations: 7.906 kB / 355.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1528, allocations: 240 / 355.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1528, allocations: 4 kB / 355.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1528, allocations: 3.984 kB / 355.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.1531, allocations: 286.5 kB / 355.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1531, allocations: 0 / 355.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/0.1532, allocations: 7.938 kB / 355.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1532, allocations: 0 / 355.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1532, allocations: 0 / 355.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1532, allocations: 4 kB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1532, allocations: 3.938 kB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.1533, allocations: 143.6 kB / 356 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.1534, allocations: 77.11 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1534, allocations: 7.984 kB / 356.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.958e-05/0.1534, allocations: 0 / 356.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.1535, allocations: 3.938 kB / 356.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.1535, allocations: 4.375 kB / 356.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.1536, allocations: 91.28 kB / 356.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1536, allocations: 0 / 356.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.1539, allocations: 31.89 kB / 356.2 MB, free: 14.7 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.0008685/0.1547, allocations: 0.7844 MB / 357 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.1549, allocations: 23.92 kB / 357 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1549, allocations: 0 / 357 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.529e-05/0.1549, allocations: 7.938 kB / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.1551, allocations: 11.92 kB / 357.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.1564, allocations: 1.23 MB / 358.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1567, allocations: 0.677 MB / 359 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.164e-05/0.1567, allocations: 7.984 kB / 359 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.483e-05/0.1568, allocations: 11.44 kB / 359 MB, free: 11.84 MB / 302.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1568, allocations: 3.938 kB / 359 MB, free: 11.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.1712, allocations: 1.678 MB / 360.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/0.1714, allocations: 248.8 kB / 360.9 MB, free: 10 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.187, allocations: 0 / 360.9 MB, free: 10 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