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.001415/0.001415, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001594/0.001594, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.5/1.5, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001602/0.001602, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.116, allocations: 53.33 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002828/0.1189, allocations: 1.342 MB / 427.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008779/0.1197, allocations: 354.8 kB / 428 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.1198, allocations: 3.938 kB / 428 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.1198, allocations: 4 kB / 428 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.1199, allocations: 3.938 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.0005063/0.1204, allocations: 91.7 kB / 428.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.1205, allocations: 15.94 kB / 428.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.1205, allocations: 4 kB / 428.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.526e-05/0.1205, allocations: 11.92 kB / 428.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.212e-05/0.1205, allocations: 3.984 kB / 428.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1206, allocations: 4 kB / 428.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.1207, allocations: 91.89 kB / 428.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.1208, allocations: 7.875 kB / 428.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.1208, allocations: 15.94 kB / 428.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.121, allocations: 83.75 kB / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.121, allocations: 0 / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.121, allocations: 0 / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.121, 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.0005075/0.1215, allocations: 351.3 kB / 428.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1215, allocations: 8.031 kB / 428.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/0.1216, allocations: 34.75 kB / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.1216, allocations: 0.9375 kB / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1218, allocations: 172.3 kB / 428.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1218, allocations: 4.375 kB / 428.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.1218, allocations: 384 / 428.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1219, allocations: 42.19 kB / 428.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1219, allocations: 7.938 kB / 429 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1219, allocations: 3.984 kB / 429 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1219, allocations: 0 / 429 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.619e-05/0.122, allocations: 4 kB / 429 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.1225, allocations: 245 kB / 429.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.1226, allocations: 38.39 kB / 429.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.1226, allocations: 8.922 kB / 429.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.1226, allocations: 4 kB / 429.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.1228, allocations: 59.39 kB / 429.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1228, allocations: 0 / 429.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001922/0.1229, allocations: 53.69 kB / 429.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.123, allocations: 59.34 kB / 429.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1231, allocations: 109.8 kB / 429.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1231, allocations: 25.7 kB / 429.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.1232, allocations: 84.14 kB / 429.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.1232, allocations: 15.83 kB / 429.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.1232, allocations: 21.7 kB / 429.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1234, allocations: 310.8 kB / 430 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.1234, allocations: 8 kB / 430 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.1235, allocations: 29.7 kB / 430 MB, free: 0.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.1235, allocations: 25.66 kB / 430 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1235, allocations: 0 / 430 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001148/0.1236, allocations: 57.62 kB / 430.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1237, allocations: 8 kB / 430.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1237, allocations: 0 / 430.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1237, allocations: 0 / 430.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.1237, allocations: 8.031 kB / 430.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.1237, allocations: 7.984 kB / 430.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.1238, allocations: 0 / 430.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.1238, allocations: 0 / 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.762e-05/0.1239, allocations: 121.7 kB / 430.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.1239, allocations: 3.953 kB / 430.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.1239, allocations: 7.906 kB / 430.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1239, allocations: 0 / 430.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1239, allocations: 3.938 kB / 430.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1239, allocations: 4 kB / 430.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.1242, allocations: 290.5 kB / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1242, allocations: 0 / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.159e-05/0.1242, allocations: 0 / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1242, allocations: 0 / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1242, allocations: 4.281 kB / 430.5 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1242, allocations: 3.938 kB / 430.5 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1242, allocations: 0 / 430.5 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.1244, allocations: 155.8 kB / 430.7 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.1245, allocations: 85.05 kB / 430.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1245, allocations: 0 / 430.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.844e-05/0.1245, allocations: 4 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.1245, allocations: 4 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1246, allocations: 4 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.172e-05/0.1246, allocations: 87.2 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1246, allocations: 0 / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1249, allocations: 27.94 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.0008765/0.1258, allocations: 0.7783 MB / 431.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1259, allocations: 16 kB / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1259, allocations: 0 / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.208e-05/0.1259, allocations: 15.92 kB / 431.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.1261, allocations: 0 / 431.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.1273, allocations: 1.231 MB / 432.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1277, allocations: 0.6807 MB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.282e-05/0.1277, allocations: 8 kB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.1277, allocations: 15.42 kB / 433.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1277, allocations: 0 / 433.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.1531, allocations: 1.946 MB / 435.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.198, allocations: 14.5 kB / 435.6 MB, free: 11.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 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.mat","/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: 10.867517004953697]