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.00158/0.00158, allocations: 104.8 kB / 16.92 MB, free: 6.145 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.001688/0.001689, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.539/1.539, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 45.8 kB / 300.7 MB, free: 5.762 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1425, allocations: 49.45 MB / 350.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.0038/0.1464, allocations: 1.324 MB / 351.5 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000966/0.1474, allocations: 348.3 kB / 351.8 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.1474, allocations: 0 / 351.8 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.1475, allocations: 3.938 kB / 351.8 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.838e-05/0.1476, allocations: 7.922 kB / 351.8 MB, free: 2.613 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.0005707/0.1482, allocations: 83.73 kB / 351.9 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.1482, allocations: 15.94 kB / 351.9 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.189e-05/0.1483, allocations: 7.984 kB / 351.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.1484, allocations: 15.92 kB / 352 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.761e-05/0.1484, allocations: 7.938 kB / 352 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1484, allocations: 0 / 352 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.1488, allocations: 83.91 kB / 352.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.1488, allocations: 4 kB / 352.1 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.1489, allocations: 7.875 kB / 352.1 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1491, allocations: 87.81 kB / 352.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1491, allocations: 0 / 352.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1491, allocations: 4 kB / 352.2 MB, free: 2.301 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1491, allocations: 0 / 352.2 MB, free: 2.301 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.0006986/0.1498, allocations: 347.5 kB / 352.5 MB, free: 1.914 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.1499, allocations: 8.031 kB / 352.5 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.861e-05/0.15, allocations: 35.02 kB / 352.5 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.15, allocations: 8.844 kB / 352.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.1502, allocations: 168.3 kB / 352.7 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1502, allocations: 4.375 kB / 352.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1503, allocations: 4.375 kB / 352.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.1504, allocations: 37.58 kB / 352.8 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1504, allocations: 3.938 kB / 352.8 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1504, allocations: 7.984 kB / 352.8 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1504, allocations: 4 kB / 352.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.864e-05/0.1505, allocations: 4 kB / 352.8 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.1509, allocations: 256.9 kB / 353 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/0.151, allocations: 18.58 kB / 353 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.1511, allocations: 16.92 kB / 353.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.1511, allocations: 7.938 kB / 353.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.1513, allocations: 55.39 kB / 353.1 MB, free: 1.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1513, allocations: 0 / 353.1 MB, free: 1.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002128/0.1515, allocations: 53.59 kB / 353.2 MB, free: 1.102 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.1516, allocations: 51.41 kB / 353.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.1517, allocations: 105.8 kB / 353.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1517, allocations: 33.64 kB / 353.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.1518, allocations: 84.14 kB / 353.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.1518, allocations: 7.906 kB / 353.5 MB, free: 0.793 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.1519, allocations: 25.64 kB / 353.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1521, allocations: 318.8 kB / 353.8 MB, free: 452 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.529e-05/0.1521, allocations: 4 kB / 353.8 MB, free: 448 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.1521, allocations: 25.7 kB / 353.8 MB, free: 416 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.728e-05/0.1522, allocations: 25.72 kB / 353.8 MB, free: 384 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1522, allocations: 0 / 353.8 MB, free: 384 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001071/0.1523, allocations: 57.62 kB / 353.9 MB, free: 320 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1523, allocations: 8 kB / 353.9 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.1523, allocations: 0 / 353.9 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1524, allocations: 0 / 353.9 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.1524, allocations: 8 kB / 353.9 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1524, allocations: 0 / 353.9 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.1525, allocations: 7.922 kB / 353.9 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1525, allocations: 0 / 353.9 MB, free: 296 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 9.815e-05/0.1526, allocations: 125.8 kB / 354 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.1526, allocations: 8.141 kB / 354.1 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.1527, allocations: 7.891 kB / 354.1 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1527, allocations: 0 / 354.1 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1527, allocations: 0 / 354.1 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1527, allocations: 0 / 354.1 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.153, allocations: 294.6 kB / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.153, allocations: 0 / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-05/0.153, allocations: 4 kB / 354.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.153, allocations: 0 / 354.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.153, allocations: 4.375 kB / 354.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.153, allocations: 0 / 354.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.153, allocations: 3.938 kB / 354.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.1533, allocations: 151.4 kB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.1534, allocations: 85 kB / 354.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1534, allocations: 0 / 354.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.1534, allocations: 4 kB / 354.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1535, allocations: 7.938 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1535, allocations: 0 / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.165e-05/0.1536, allocations: 87.27 kB / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1536, allocations: 0 / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1539, allocations: 24 kB / 354.7 MB, free: 15.39 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.0009478/0.1548, allocations: 0.773 MB / 355.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.1549, allocations: 27.88 kB / 355.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.155, allocations: 4.062 kB / 355.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/0.155, allocations: 15.92 kB / 355.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.1552, allocations: 6.75 kB / 355.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.1565, allocations: 1.223 MB / 356.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.1569, allocations: 0.6768 MB / 357.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.104e-05/0.1569, allocations: 7.984 kB / 357.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.157, allocations: 15.44 kB / 357.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.157, allocations: 0 / 357.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.1832, allocations: 1.893 MB / 359.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.759/8.943, allocations: 8.703 kB / 359.4 MB, free: 10.69 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