Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 83.69 kB / 20.68 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9023/0.9023, allocations: 177.1 MB / 204.2 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.282e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001702/0.001725, allocations: 1.363 MB / 325.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005333/0.002258, allocations: 354.7 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.00229, allocations: 4 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.002319, allocations: 3.938 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.002373, allocations: 0 / 326.3 MB, free: 14.2 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0004445/0.002817, allocations: 95.58 kB / 326.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.087e-05/0.002878, allocations: 11.94 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.002917, allocations: 7.984 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.621e-05/0.002954, allocations: 15.92 kB / 326.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.932e-05/0.002973, allocations: 3.984 kB / 326.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.002985, allocations: 4 kB / 326.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.003155, allocations: 111.7 kB / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.003171, allocations: 11.98 kB / 326.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.003193, allocations: 3.984 kB / 326.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.003355, allocations: 95.73 kB / 326.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003358, allocations: 4 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.003358, allocations: 4 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.003362, allocations: 0 / 326.6 MB, free: 13.84 MB / 298.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.0003132/0.003675, allocations: 278.1 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.003711, allocations: 8.031 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.003761, allocations: 30.75 kB / 327 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.003784, allocations: 8.922 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.463e-05/0.003849, allocations: 109.8 kB / 327.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.00386, allocations: 384 / 327.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.003867, allocations: 4.312 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.519e-05/0.003942, allocations: 42.25 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.003949, allocations: 4.188 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.003956, allocations: 384 / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.003961, allocations: 4.125 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.003982, allocations: 7.984 kB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.00428, allocations: 220 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.859e-05/0.004328, allocations: 30.5 kB / 327.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.004345, allocations: 12.92 kB / 327.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.004352, allocations: 0 / 327.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.004466, allocations: 51.34 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.004467, allocations: 0 / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001526/0.00462, allocations: 69.52 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.004655, allocations: 59.39 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.764e-05/0.004713, allocations: 101.9 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.004722, allocations: 25.7 kB / 327.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.004754, allocations: 88.12 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/0.004762, allocations: 3.953 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.004789, allocations: 21.72 kB / 327.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.004861, allocations: 310.8 kB / 328.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.004879, allocations: 11.98 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/0.004902, allocations: 21.72 kB / 328.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.497e-05/0.004937, allocations: 29.66 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.004939, allocations: 3.938 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.211e-05/0.005001, allocations: 61.61 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.005015, allocations: 8 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.00502, allocations: 0 / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.005032, allocations: 0 / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.469e-05/0.005087, allocations: 11.94 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.005093, allocations: 4.359 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.005107, allocations: 3.953 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.005114, allocations: 4 kB / 328.3 MB, free: 12.01 MB / 298.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 6.265e-05/0.005177, allocations: 113.9 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.005186, allocations: 15.92 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.00521, allocations: 4 kB / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005212, allocations: 0 / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.005216, allocations: 0 / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005219, allocations: 0 / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.005389, allocations: 253.7 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.00539, allocations: 3.938 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.0054, allocations: 4 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.005401, allocations: 0 / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.005407, allocations: 8 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.005408, allocations: 0 / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005409, allocations: 0 / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.553e-05/0.005485, allocations: 147.8 kB / 328.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.005492, allocations: 11.98 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.005501, allocations: 0 / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.005525, allocations: 0 / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.005541, allocations: 0 / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.005553, allocations: 7.938 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.789e-05/0.00558, allocations: 87.27 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005581, allocations: 0 / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.005762, allocations: 31.94 kB / 328.9 MB, free: 11.26 MB / 298.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.000481/0.006243, allocations: 0.7794 MB / 329.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.482e-05/0.006318, allocations: 27.92 kB / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.00632, allocations: 0 / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.766e-05/0.006337, allocations: 8 kB / 329.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.006487, allocations: 0 / 329.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/0.007222, allocations: 1.232 MB / 331 MB, free: 9.133 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.897e-05/0.007261, allocations: 63.34 kB / 331 MB, free: 9.051 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.933e-05/0.00729, allocations: 11.92 kB / 331.1 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.007319, allocations: 12.5 kB / 331.1 MB, free: 9.027 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00732, allocations: 0 / 331.1 MB, free: 9.027 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.02467, allocations: 2.614 MB / 333.7 MB, free: 6.512 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/6.826, allocations: 7.188 kB / 333.7 MB, free: 6.508 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000384541 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.606423886492848]