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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000845/0.000845, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008698/0.0008698, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.857/0.857, allocations: 173.4 MB / 200.5 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.363e-05, allocations: 2.281 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001515/0.001529, allocations: 1.329 MB / 319.8 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004896/0.002018, allocations: 342.7 kB / 320.1 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.002048, allocations: 0 / 320.1 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.002074, allocations: 7.922 kB / 320.1 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.027e-05/0.002124, allocations: 3.938 kB / 320.1 MB, free: 4.66 MB / 282.7 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.0004245/0.002548, allocations: 91.58 kB / 320.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.445e-05/0.002613, allocations: 19.94 kB / 320.2 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.002649, allocations: 7.969 kB / 320.2 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.002686, allocations: 11.94 kB / 320.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.279e-05/0.002709, allocations: 8 kB / 320.2 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.002721, allocations: 0 / 320.2 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.002904, allocations: 119.7 kB / 320.4 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.002919, allocations: 3.984 kB / 320.4 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.002945, allocations: 11.98 kB / 320.4 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.003103, allocations: 99.73 kB / 320.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003105, allocations: 0 / 320.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.003106, allocations: 0 / 320.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.00311, allocations: 0 / 320.5 MB, free: 4.293 MB / 282.7 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.0002948/0.003405, allocations: 277.4 kB / 320.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.003442, allocations: 16.92 kB / 320.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.003492, allocations: 30.75 kB / 320.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.003517, allocations: 4.938 kB / 320.8 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.003592, allocations: 113.7 kB / 320.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.003604, allocations: 4.359 kB / 320.9 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.003613, allocations: 4.375 kB / 320.9 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.067e-05/0.003693, allocations: 45.94 kB / 321 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.0037, allocations: 0 / 321 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.003707, allocations: 0 / 321 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.003712, allocations: 0 / 321 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.003731, allocations: 4 kB / 321 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.004044, allocations: 227.9 kB / 321.2 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.004089, allocations: 30.5 kB / 321.2 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.004106, allocations: 8.922 kB / 321.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.004113, allocations: 0 / 321.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.406e-05/0.004207, allocations: 51.41 kB / 321.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.004208, allocations: 4 kB / 321.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001463/0.004354, allocations: 53.62 kB / 321.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.004387, allocations: 55.41 kB / 321.4 MB, free: 3.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.93e-05/0.004446, allocations: 105.8 kB / 321.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.00446, allocations: 29.7 kB / 321.5 MB, free: 3.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.004505, allocations: 92.08 kB / 321.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.004515, allocations: 7.953 kB / 321.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.004544, allocations: 17.72 kB / 321.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.238e-05/0.004616, allocations: 314.8 kB / 321.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.004633, allocations: 7.984 kB / 322 MB, free: 2.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.004653, allocations: 29.59 kB / 322 MB, free: 2.598 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.004692, allocations: 29.66 kB / 322 MB, free: 2.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.004694, allocations: 4 kB / 322 MB, free: 2.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.823e-05/0.004752, allocations: 53.69 kB / 322.1 MB, free: 2.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.004765, allocations: 7.984 kB / 322.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.004769, allocations: 0 / 322.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.004781, allocations: 4 kB / 322.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.601e-05/0.004827, allocations: 4 kB / 322.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.004832, allocations: 3.938 kB / 322.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.004845, allocations: 8 kB / 322.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.004851, allocations: 384 / 322.1 MB, free: 2.473 MB / 282.7 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 5.468e-05/0.004906, allocations: 113.8 kB / 322.2 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-06/0.004911, allocations: 3.953 kB / 322.2 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.22e-05/0.004933, allocations: 16.02 kB / 322.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.004936, allocations: 4.234 kB / 322.2 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.004941, allocations: 4 kB / 322.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.004944, allocations: 3.984 kB / 322.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.005102, allocations: 257.6 kB / 322.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005103, allocations: 0 / 322.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-06/0.00511, allocations: 3.938 kB / 322.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-07/0.005111, allocations: 0 / 322.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.005116, allocations: 0 / 322.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.005118, allocations: 4 kB / 322.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005119, allocations: 0 / 322.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.874e-05/0.005188, allocations: 155.5 kB / 322.6 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.005193, allocations: 3.953 kB / 322.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.005201, allocations: 0 / 322.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.313e-05/0.005224, allocations: 0 / 322.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.00524, allocations: 4 kB / 322.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.00525, allocations: 0 / 322.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.005278, allocations: 91.2 kB / 322.7 MB, free: 1.738 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005278, allocations: 0 / 322.7 MB, free: 1.738 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.00547, allocations: 27.88 kB / 322.8 MB, free: 1.711 MB / 282.7 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.0006/0.00607, allocations: 0.7841 MB / 323.6 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.602e-05/0.006136, allocations: 19.98 kB / 323.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006137, allocations: 3.938 kB / 323.6 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/0.006152, allocations: 8 kB / 323.6 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.006285, allocations: 4.062 kB / 323.6 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.006988, allocations: 1.234 MB / 324.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.875e-05/0.007027, allocations: 63.34 kB / 324.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.492e-05/0.007052, allocations: 7.984 kB / 324.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.007078, allocations: 16.44 kB / 324.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.007078, allocations: 0 / 324.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.02124, allocations: 2.611 MB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.674/6.696, allocations: 4 kB / 327.5 MB, free: 12.97 MB / 298.7 MB " [Timeout remaining time 653] (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 --stepSize=0.000384541 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.273136073723435]