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.001697/0.001697, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002122/0.002122, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.495/1.495, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001537/0.001537, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1151, allocations: 53.32 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.00273/0.1178, allocations: 1.356 MB / 427.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007948/0.1186, allocations: 358.8 kB / 428 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.1186, allocations: 0 / 428 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.1187, allocations: 0 / 428 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.87e-05/0.1187, allocations: 7.922 kB / 428 MB, free: 3.059 MB / 350.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.000487/0.1192, allocations: 83.73 kB / 428.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.166e-05/0.1193, allocations: 19.92 kB / 428.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.1193, allocations: 0 / 428.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/0.1193, allocations: 7.938 kB / 428.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.465e-05/0.1194, allocations: 7.984 kB / 428.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1194, allocations: 8 kB / 428.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.1196, allocations: 91.89 kB / 428.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.1196, allocations: 7.875 kB / 428.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.1196, allocations: 15.92 kB / 428.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1198, allocations: 87.69 kB / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1198, allocations: 0 / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1198, allocations: 0 / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1198, allocations: 0 / 428.3 MB, free: 2.734 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.0004796/0.1203, allocations: 343.3 kB / 428.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1203, allocations: 16.03 kB / 428.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.1204, allocations: 34.73 kB / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.1204, allocations: 0.9375 kB / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.1206, allocations: 172.3 kB / 428.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1206, allocations: 384 / 428.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1206, allocations: 4.375 kB / 428.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1207, allocations: 38.25 kB / 428.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1207, allocations: 3.938 kB / 428.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.1207, allocations: 0 / 428.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1207, allocations: 0 / 428.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.688e-05/0.1208, allocations: 15.94 kB / 429 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.1212, allocations: 248.9 kB / 429.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.382e-05/0.1213, allocations: 30.5 kB / 429.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.1213, allocations: 12.92 kB / 429.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.1213, allocations: 0 / 429.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.1215, allocations: 63.34 kB / 429.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1215, allocations: 0 / 429.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001892/0.1217, allocations: 49.69 kB / 429.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.1217, allocations: 51.41 kB / 429.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.091e-05/0.1218, allocations: 109.8 kB / 429.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1219, allocations: 29.7 kB / 429.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.1219, allocations: 88.12 kB / 429.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.1219, allocations: 11.88 kB / 429.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.122, allocations: 25.66 kB / 429.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1221, allocations: 314.8 kB / 430 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.1221, allocations: 7.984 kB / 430 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.672e-05/0.1222, allocations: 21.72 kB / 430 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.997e-05/0.1222, allocations: 25.66 kB / 430 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1222, allocations: 0 / 430 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001001/0.1223, allocations: 57.66 kB / 430.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1223, allocations: 15.98 kB / 430.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1223, allocations: 0 / 430.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1224, allocations: 0 / 430.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.1224, allocations: 8 kB / 430.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.1224, allocations: 0 / 430.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.1225, allocations: 3.938 kB / 430.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1225, allocations: 4 kB / 430.1 MB, free: 0.7148 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.05e-05/0.1225, allocations: 113.8 kB / 430.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.1226, allocations: 11.89 kB / 430.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.1226, allocations: 12.12 kB / 430.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1226, allocations: 7.922 kB / 430.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1226, allocations: 0 / 430.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1226, allocations: 0 / 430.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.1229, allocations: 286.6 kB / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1229, allocations: 0 / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.128e-05/0.1229, allocations: 0 / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1229, allocations: 4 kB / 430.5 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1229, allocations: 3.984 kB / 430.5 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1229, allocations: 0 / 430.5 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1229, allocations: 4 kB / 430.6 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.1231, allocations: 151.8 kB / 430.7 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.1231, allocations: 81.06 kB / 430.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.1231, allocations: 0 / 430.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/0.1232, allocations: 4 kB / 430.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.1232, allocations: 7.984 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1232, allocations: 0 / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.459e-05/0.1233, allocations: 91.22 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1233, allocations: 0 / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1236, allocations: 27.92 kB / 430.9 MB, free: 15.81 MB / 366.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.0008737/0.1244, allocations: 0.7666 MB / 431.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.1246, allocations: 19.98 kB / 431.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1246, allocations: 0 / 431.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.1246, allocations: 12 kB / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.1248, allocations: 6.125 kB / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.1261, allocations: 1.235 MB / 432.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1264, allocations: 0.6807 MB / 433.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.911e-05/0.1264, allocations: 7.984 kB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.1264, allocations: 11.44 kB / 433.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1264, allocations: 0 / 433.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.1506, allocations: 1.944 MB / 435.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.327, allocations: 0 / 435.6 MB, free: 11.11 MB / 366.1 MB " [Timeout remaining time 652] (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: 11.135873254999751]