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.001509/0.001509, allocations: 116 kB / 17.78 MB, free: 5.289 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.001582/0.001582, allocations: 190.9 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.491/1.491, 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.001526/0.001526, allocations: 55.91 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1069, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002749/0.1097, allocations: 1.33 MB / 419.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000811/0.1105, allocations: 358.8 kB / 419.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.1105, allocations: 0 / 419.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.1105, allocations: 3.938 kB / 419.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-05/0.1106, allocations: 11.98 kB / 419.5 MB, free: 10.91 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.0004871/0.1111, allocations: 91.66 kB / 419.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.955e-05/0.1112, allocations: 8 kB / 419.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.1112, allocations: 7.984 kB / 419.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.512e-05/0.1112, allocations: 4 kB / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.338e-05/0.1113, allocations: 11.88 kB / 419.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1113, allocations: 4 kB / 419.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.1115, allocations: 95.81 kB / 419.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.1115, allocations: 4 kB / 419.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.1115, allocations: 7.938 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1117, allocations: 91.73 kB / 419.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1117, allocations: 4 kB / 419.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1117, allocations: 0 / 419.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1117, allocations: 0 / 419.8 MB, free: 10.59 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.0004661/0.1122, allocations: 347.2 kB / 420.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1122, allocations: 8.031 kB / 420.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.087e-05/0.1123, allocations: 38.7 kB / 420.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.1123, allocations: 4.922 kB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.1125, allocations: 168.3 kB / 420.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1125, allocations: 4.375 kB / 420.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.1125, allocations: 4.125 kB / 420.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.851e-05/0.1126, allocations: 37.69 kB / 420.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1126, allocations: 4 kB / 420.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1126, allocations: 0 / 420.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1126, allocations: 0 / 420.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.1127, allocations: 4 kB / 420.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.1131, allocations: 260.8 kB / 420.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.041e-05/0.1131, allocations: 22.58 kB / 420.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.1131, allocations: 16.91 kB / 420.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.1132, allocations: 4 kB / 420.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.1133, allocations: 51.39 kB / 420.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1133, allocations: 0 / 420.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000173/0.1135, allocations: 57.62 kB / 420.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.1135, allocations: 59.34 kB / 420.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.1136, allocations: 105.8 kB / 421 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1136, allocations: 25.7 kB / 421 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.1137, allocations: 84.14 kB / 421.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.1137, allocations: 11.89 kB / 421.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1137, allocations: 21.7 kB / 421.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1139, allocations: 314.8 kB / 421.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.1139, allocations: 8 kB / 421.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.1139, allocations: 25.7 kB / 421.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.114, allocations: 29.66 kB / 421.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.114, allocations: 0 / 421.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.77e-05/0.1141, allocations: 61.58 kB / 421.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1141, allocations: 8 kB / 421.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1141, allocations: 0 / 421.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1141, allocations: 3.938 kB / 421.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.1142, allocations: 7.984 kB / 421.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1142, allocations: 8.031 kB / 421.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.1142, allocations: 384 / 421.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.1142, allocations: 0 / 421.6 MB, free: 8.574 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.124e-05/0.1143, allocations: 118.4 kB / 421.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.1143, allocations: 0 / 421.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.1143, allocations: 7.906 kB / 421.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1143, allocations: 0 / 421.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.1143, allocations: 7.984 kB / 421.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1143, allocations: 0 / 421.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.1146, allocations: 298.5 kB / 422 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1146, allocations: 0 / 422 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.206e-05/0.1146, allocations: 0 / 422 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1146, allocations: 0 / 422 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/0.1146, allocations: 7.938 kB / 422 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1146, allocations: 0 / 422 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1146, allocations: 3.938 kB / 422 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.1148, allocations: 147.5 kB / 422.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.1148, allocations: 77.11 kB / 422.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.1148, allocations: 0 / 422.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.1149, allocations: 4 kB / 422.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.1149, allocations: 11.88 kB / 422.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1149, allocations: 336 / 422.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.792e-05/0.115, allocations: 83.27 kB / 422.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.115, allocations: 0 / 422.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1152, allocations: 27.94 kB / 422.4 MB, free: 7.688 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.0008312/0.1161, allocations: 0.777 MB / 423.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.1162, allocations: 23.92 kB / 423.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1162, allocations: 0 / 423.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.538e-05/0.1162, allocations: 8 kB / 423.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.1164, allocations: 7.938 kB / 423.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1176, allocations: 1.231 MB / 424.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1179, allocations: 0.6883 MB / 425.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.559e-05/0.1179, allocations: 11.98 kB / 425.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.118, allocations: 11.44 kB / 425.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.118, allocations: 0 / 425.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.1435, allocations: 1.943 MB / 427.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.86/9.004, allocations: 15.84 kB / 427.1 MB, free: 2.953 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.637561850249767]