Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.001245/0.001245, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001343/0.001343, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.423/1.423, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 43.94 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.106, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002962/0.109, allocations: 1.496 MB / 427.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.1102, allocations: 0.5808 MB / 428.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.1103, allocations: 0 / 428.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.702e-05/0.1104, allocations: 15.86 kB / 428.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.1104, allocations: 15.81 kB / 428.4 MB, free: 2.672 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.0006148/0.1111, allocations: 143.6 kB / 428.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1112, allocations: 123.5 kB / 428.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.1113, allocations: 5.125 kB / 428.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.821e-05/0.1114, allocations: 47.84 kB / 428.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005927/0.112, allocations: 68.06 kB / 428.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.112, allocations: 12 kB / 428.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.1122, allocations: 119.8 kB / 428.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.227e-05/0.1123, allocations: 39.84 kB / 429 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.1124, allocations: 43.73 kB / 429 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.1127, allocations: 203.2 kB / 429.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1127, allocations: 0 / 429.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1127, allocations: 0 / 429.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1127, allocations: 0 / 429.2 MB, free: 1.883 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007743/0.1135, allocations: 462.5 kB / 429.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1135, allocations: 8.031 kB / 429.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.276e-05/0.1136, allocations: 46.72 kB / 429.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003169/0.1139, allocations: 40.81 kB / 429.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1142, allocations: 200.1 kB / 429.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.1142, allocations: 4.375 kB / 430 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1142, allocations: 8.375 kB / 430 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.1145, allocations: 125.3 kB / 430.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1145, allocations: 0 / 430.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1145, allocations: 3.984 kB / 430.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1145, allocations: 7.938 kB / 430.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.1147, allocations: 55.97 kB / 430.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.1155, allocations: 456.7 kB / 430.6 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.1158, allocations: 117.2 kB / 430.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1159, allocations: 53.7 kB / 430.8 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.1159, allocations: 4 kB / 430.8 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.1162, allocations: 145 kB / 430.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.1162, allocations: 0 / 430.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005958/0.1168, allocations: 237.7 kB / 431.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.1169, allocations: 93.09 kB / 431.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1171, allocations: 186.3 kB / 431.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.1171, allocations: 41.7 kB / 431.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.1172, allocations: 108.5 kB / 431.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.1172, allocations: 43.67 kB / 431.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.1173, allocations: 57.92 kB / 431.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1175, allocations: 330.8 kB / 432 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.1177, allocations: 104.4 kB / 432.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.1179, allocations: 131.5 kB / 432.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.1183, allocations: 207.5 kB / 432.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1183, allocations: 3.938 kB / 432.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005018/0.1188, allocations: 293.4 kB / 432.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1188, allocations: 4 kB / 432.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1188, allocations: 8 kB / 432.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1188, allocations: 3.938 kB / 432.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.119, allocations: 27.98 kB / 432.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.119, allocations: 4 kB / 432.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.1191, allocations: 19.81 kB / 432.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.1191, allocations: 12 kB / 432.8 MB, free: 14.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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 0.0001463/0.1192, allocations: 149.9 kB / 432.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.1193, allocations: 11.91 kB / 432.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.1193, allocations: 13.41 kB / 433 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1193, allocations: 0 / 433 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1193, allocations: 7.984 kB / 433 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1193, allocations: 3.938 kB / 433 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1195, allocations: 209.5 kB / 433.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1195, allocations: 4 kB / 433.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.1196, allocations: 11.98 kB / 433.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1196, allocations: 0 / 433.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.1196, allocations: 7.938 kB / 433.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1196, allocations: 0 / 433.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1196, allocations: 0 / 433.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.12, allocations: 225.7 kB / 433.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.12, allocations: 92.95 kB / 433.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.1201, allocations: 19.92 kB / 433.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/0.1201, allocations: 4 kB / 433.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.1202, allocations: 11.92 kB / 433.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1202, allocations: 8 kB / 433.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1203, allocations: 128.2 kB / 433.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1203, allocations: 0 / 433.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.1206, allocations: 47.94 kB / 433.7 MB, free: 12.97 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001256/0.1219, allocations: 0.9179 MB / 434.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.1223, allocations: 171.8 kB / 434.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1223, allocations: 3.938 kB / 434.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.1224, allocations: 56.09 kB / 434.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.1226, allocations: 11.94 kB / 434.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.1252, allocations: 2.096 MB / 437 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.1257, allocations: 0.7157 MB / 437.7 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.229e-05/0.1257, allocations: 16.88 kB / 437.7 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.1258, allocations: 39.42 kB / 437.7 MB, free: 8.832 MB / 366.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1258, allocations: 0 / 437.7 MB, free: 8.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.1537, allocations: 3.65 MB / 441.4 MB, free: 5.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.273, allocations: 14.11 kB / 441.4 MB, free: 5.25 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.809887081151828]