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.001506/0.001506, allocations: 119.9 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001508/0.001508, allocations: 189.2 kB / 20.73 MB, free: 2.352 MB / 14.72 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 1.368/1.368, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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 0.00148/0.00148, allocations: 47.92 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1038, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002641/0.1065, allocations: 1.341 MB / 419.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.1072, allocations: 362.8 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.1073, allocations: 0 / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.1073, allocations: 4 kB / 419.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.1074, allocations: 3.938 kB / 419.5 MB, free: 10.9 MB / 350.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.000503/0.1079, allocations: 79.73 kB / 419.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.108, allocations: 23.91 kB / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.108, allocations: 0 / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.108, allocations: 11.94 kB / 419.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.404e-05/0.1081, allocations: 7.938 kB / 419.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.1081, allocations: 0 / 419.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.1083, allocations: 95.89 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.1083, allocations: 0 / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.1083, allocations: 23.84 kB / 419.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1085, allocations: 79.77 kB / 419.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1085, allocations: 0 / 419.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1085, allocations: 0 / 419.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1085, allocations: 3.938 kB / 419.8 MB, free: 10.58 MB / 350.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.0005448/0.1091, allocations: 347.3 kB / 420.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1091, allocations: 8.031 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.987e-05/0.1092, allocations: 38.69 kB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.1092, allocations: 8.938 kB / 420.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.1094, allocations: 164.4 kB / 420.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1094, allocations: 384 / 420.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.1094, allocations: 8.125 kB / 420.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1095, allocations: 33.69 kB / 420.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1096, allocations: 3.938 kB / 420.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1096, allocations: 4 kB / 420.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1096, allocations: 0 / 420.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.1096, allocations: 4 kB / 420.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.11, allocations: 264.8 kB / 420.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.069e-05/0.1101, allocations: 26.56 kB / 420.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.1101, allocations: 12.86 kB / 420.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.842e-06/0.1101, allocations: 0 / 420.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.1103, allocations: 51.41 kB / 420.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1103, allocations: 7.938 kB / 420.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001911/0.1105, allocations: 49.69 kB / 420.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1106, allocations: 55.41 kB / 420.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1107, allocations: 109.8 kB / 421 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1107, allocations: 25.7 kB / 421 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.1107, allocations: 88.12 kB / 421.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.1108, allocations: 11.89 kB / 421.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.1108, allocations: 13.72 kB / 421.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1109, allocations: 326.8 kB / 421.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.111, allocations: 7.984 kB / 421.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.111, allocations: 17.72 kB / 421.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.048e-05/0.111, allocations: 25.72 kB / 421.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.111, allocations: 384 / 421.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.841e-05/0.1111, allocations: 65.75 kB / 421.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1112, allocations: 7.984 kB / 421.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1112, allocations: 7.969 kB / 421.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1112, allocations: 4 kB / 421.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.1112, allocations: 8 kB / 421.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1113, allocations: 0 / 421.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.889e-05/0.1113, allocations: 4 kB / 421.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1113, allocations: 4 kB / 421.6 MB, free: 8.555 MB / 350.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.866e-05/0.1114, allocations: 118.4 kB / 421.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-06/0.1114, allocations: 0 / 421.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.1114, allocations: 11.89 kB / 421.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1114, allocations: 4 kB / 421.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1114, allocations: 0 / 421.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1114, allocations: 4 kB / 421.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.1117, allocations: 282.5 kB / 422 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1117, allocations: 0 / 422 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.1117, allocations: 7.938 kB / 422 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1117, allocations: 0 / 422 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1117, allocations: 3.984 kB / 422 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1117, allocations: 0 / 422 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1117, allocations: 3.938 kB / 422 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.1119, allocations: 151.5 kB / 422.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.1119, allocations: 77.11 kB / 422.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1119, allocations: 4 kB / 422.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.351e-05/0.112, allocations: 0 / 422.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.112, allocations: 7.922 kB / 422.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.112, allocations: 0 / 422.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.925e-05/0.1121, allocations: 87.28 kB / 422.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1121, allocations: 4 kB / 422.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1123, allocations: 23.92 kB / 422.4 MB, free: 7.672 MB / 350.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.0007954/0.1131, allocations: 0.7764 MB / 423.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.1132, allocations: 19.98 kB / 423.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1132, allocations: 0 / 423.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.291e-05/0.1133, allocations: 11.94 kB / 423.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.1135, allocations: 3.938 kB / 423.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.1147, allocations: 1.239 MB / 424.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.115, allocations: 0.6805 MB / 425.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.319e-05/0.115, allocations: 7.984 kB / 425.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.115, allocations: 7.438 kB / 425.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.115, allocations: 4 kB / 425.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.1438, allocations: 1.955 MB / 427.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/8.391, allocations: 12.44 kB / 427.1 MB, free: 2.941 MB / 350.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.69998330483213]