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.001707/0.001707, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.002063/0.002063, allocations: 184.7 kB / 23.71 MB, free: 4.434 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.412/1.412, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.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.001577/0.001577, allocations: 51.92 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.284, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002627/0.2866, allocations: 1.345 MB / 423.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.2875, allocations: 353.5 kB / 424.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.2875, allocations: 0 / 424.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.2876, allocations: 3.938 kB / 424.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.2876, allocations: 0 / 424.3 MB, free: 12.68 MB / 334.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.0005308/0.2881, allocations: 91.7 kB / 424.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.614e-05/0.2882, allocations: 31.84 kB / 424.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.2883, allocations: 4 kB / 424.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.2883, allocations: 4 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.656e-05/0.2883, allocations: 11.92 kB / 424.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.2883, allocations: 0 / 424.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.2886, allocations: 115.8 kB / 424.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.2886, allocations: 7.984 kB / 424.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.2886, allocations: 11.92 kB / 424.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.2888, allocations: 81.45 kB / 424.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2888, allocations: 4 kB / 424.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2888, allocations: 0 / 424.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.2888, allocations: 0 / 424.6 MB, free: 12.33 MB / 334.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.0004026/0.2892, allocations: 270.2 kB / 424.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2893, allocations: 12.03 kB / 424.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.62e-05/0.2893, allocations: 38.69 kB / 424.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.2894, allocations: 0.9375 kB / 424.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2895, allocations: 118.5 kB / 425 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2895, allocations: 384 / 425 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2895, allocations: 8.125 kB / 425.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.735e-05/0.2896, allocations: 37.62 kB / 425.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.2896, allocations: 0 / 425.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.2896, allocations: 3.938 kB / 425.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2896, allocations: 0 / 425.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.821e-05/0.2896, allocations: 12 kB / 425.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.29, allocations: 224 kB / 425.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.085e-05/0.2901, allocations: 30.5 kB / 425.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.2901, allocations: 8.922 kB / 425.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.2901, allocations: 0 / 425.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.2902, allocations: 51.41 kB / 425.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2902, allocations: 0 / 425.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001567/0.2904, allocations: 61.61 kB / 425.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.2904, allocations: 51.41 kB / 425.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.2905, allocations: 113.8 kB / 425.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.2905, allocations: 25.7 kB / 425.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.2906, allocations: 80.14 kB / 425.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.2906, allocations: 15.89 kB / 425.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.2906, allocations: 13.72 kB / 425.8 MB, free: 11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2908, allocations: 322.8 kB / 426.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.2908, allocations: 4 kB / 426.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/0.2908, allocations: 21.72 kB / 426.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/0.2909, allocations: 34.2 kB / 426.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2909, allocations: 0 / 426.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.468e-05/0.291, allocations: 65.62 kB / 426.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.291, allocations: 6.188 kB / 426.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.291, allocations: 4 kB / 426.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.291, allocations: 3.938 kB / 426.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.291, allocations: 8 kB / 426.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.291, allocations: 3.938 kB / 426.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.2911, allocations: 0 / 426.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.2911, allocations: 8 kB / 426.2 MB, free: 10.5 MB / 334.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 8.169e-05/0.2912, allocations: 117.8 kB / 426.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.2912, allocations: 4.031 kB / 426.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.2912, allocations: 8 kB / 426.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2912, allocations: 0 / 426.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2912, allocations: 4 kB / 426.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2912, allocations: 0 / 426.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.2914, allocations: 253.6 kB / 426.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2914, allocations: 4 kB / 426.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.2914, allocations: 3.938 kB / 426.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2914, allocations: 3.938 kB / 426.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.2914, allocations: 0 / 426.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2915, allocations: 0 / 426.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.2915, allocations: 15.92 kB / 426.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.2916, allocations: 143.5 kB / 426.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.2916, allocations: 0 / 426.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.2916, allocations: 0 / 426.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.2916, allocations: 0 / 426.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.2917, allocations: 7.938 kB / 426.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.2917, allocations: 3.984 kB / 426.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.2917, allocations: 83.28 kB / 426.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2917, allocations: 0 / 426.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.292, allocations: 23.94 kB / 426.9 MB, free: 9.758 MB / 334.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.0007789/0.2928, allocations: 0.7783 MB / 427.7 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.321e-05/0.2928, allocations: 19.98 kB / 427.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2928, allocations: 3.938 kB / 427.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.2929, allocations: 8.062 kB / 427.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.2931, allocations: 18.14 kB / 427.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.2942, allocations: 1.219 MB / 428.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.806e-05/0.2943, allocations: 63.2 kB / 429 MB, free: 7.555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.941e-05/0.2943, allocations: 7.984 kB / 429 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.2943, allocations: 11.44 kB / 429 MB, free: 7.535 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2943, allocations: 0 / 429 MB, free: 7.535 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.3219, allocations: 2.467 MB / 431.5 MB, free: 5.203 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.71, allocations: 0 / 431.5 MB, free: 5.203 MB / 334.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.312085614074022]