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.001395/0.001395, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001566/0.001566, allocations: 207.8 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001494/0.001494, allocations: 55.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2988, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002722/0.3016, allocations: 1.348 MB / 432.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008353/0.3024, allocations: 358.8 kB / 432.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.3024, allocations: 0 / 432.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.3025, allocations: 3.938 kB / 432.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.3025, allocations: 0 / 432.8 MB, free: 4.941 MB / 334.1 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.0005524/0.3031, allocations: 95.7 kB / 432.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.823e-05/0.3031, allocations: 23.92 kB / 432.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.3032, allocations: 0 / 432.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.3032, allocations: 11.98 kB / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.584e-05/0.3032, allocations: 7.938 kB / 432.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.3032, allocations: 0 / 432.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.3035, allocations: 123.8 kB / 433 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.3035, allocations: 7.984 kB / 433 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.3036, allocations: 7.938 kB / 433.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.3037, allocations: 81.45 kB / 433.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3038, allocations: 4 kB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3038, allocations: 0 / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3038, allocations: 4 kB / 433.1 MB, free: 4.586 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.000443/0.3042, allocations: 274.1 kB / 433.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3042, allocations: 12.03 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.3043, allocations: 30.75 kB / 433.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.3043, allocations: 0.9375 kB / 433.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3044, allocations: 114.5 kB / 433.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3045, allocations: 4.375 kB / 433.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3045, allocations: 4.375 kB / 433.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.707e-05/0.3046, allocations: 42.17 kB / 433.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3046, allocations: 3.938 kB / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3046, allocations: 4 kB / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3046, allocations: 4 kB / 433.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/0.3046, allocations: 15.92 kB / 433.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.305, allocations: 216.1 kB / 433.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.916e-05/0.3051, allocations: 26.45 kB / 433.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.3051, allocations: 12.92 kB / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.3051, allocations: 0 / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.3053, allocations: 55.39 kB / 433.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3053, allocations: 0 / 433.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001714/0.3054, allocations: 57.62 kB / 434 MB, free: 3.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.3055, allocations: 55.41 kB / 434.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3056, allocations: 113.8 kB / 434.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3056, allocations: 25.7 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.3057, allocations: 80.14 kB / 434.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.3057, allocations: 19.83 kB / 434.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.3057, allocations: 17.7 kB / 434.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3059, allocations: 314.8 kB / 434.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.3059, allocations: 4 kB / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.3059, allocations: 25.7 kB / 434.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.31e-05/0.306, allocations: 37.59 kB / 434.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.306, allocations: 0 / 434.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.753e-05/0.3061, allocations: 53.69 kB / 434.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3061, allocations: 4 kB / 434.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3061, allocations: 3.984 kB / 434.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3061, allocations: 0 / 434.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.3062, allocations: 15.92 kB / 434.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3062, allocations: 0 / 434.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.3062, allocations: 0 / 434.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3062, allocations: 8 kB / 434.8 MB, free: 2.754 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.785e-05/0.3063, allocations: 117.8 kB / 434.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.3063, allocations: 3.953 kB / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.3063, allocations: 4 kB / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3063, allocations: 0 / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3063, allocations: 4 kB / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3063, allocations: 240 / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.3066, allocations: 257.6 kB / 435.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3066, allocations: 7.984 kB / 435.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.171e-05/0.3066, allocations: 3.938 kB / 435.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3066, allocations: 384 / 435.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.3066, allocations: 0 / 435.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/0.3066, allocations: 11.94 kB / 435.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3066, allocations: 4 kB / 435.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.3068, allocations: 147.5 kB / 435.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.3068, allocations: 3.953 kB / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.3068, allocations: 0 / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.271e-05/0.3068, allocations: 3.984 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.3068, allocations: 7.938 kB / 435.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.3069, allocations: 0 / 435.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.696e-05/0.3069, allocations: 87.22 kB / 435.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3069, allocations: 0 / 435.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3072, allocations: 27.92 kB / 435.4 MB, free: 1.992 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.000825/0.308, allocations: 0.7694 MB / 436.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.3081, allocations: 23.92 kB / 436.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3081, allocations: 4.062 kB / 436.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.613e-05/0.3081, allocations: 8 kB / 436.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.3083, allocations: 7.984 kB / 436.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.3096, allocations: 1.227 MB / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.646e-05/0.3096, allocations: 59.34 kB / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.174e-05/0.3097, allocations: 4.375 kB / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.3097, allocations: 11.44 kB / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3097, allocations: 3.938 kB / 437.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.3388, allocations: 2.49 MB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.28, allocations: 7.5 kB / 440.1 MB, free: 13.42 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/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: 13.879031467979075]