Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001967/0.001967, allocations: 120.4 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002448/0.002448, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 67.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1156, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002879/0.1185, allocations: 1.496 MB / 428.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1196, allocations: 0.5764 MB / 428.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.1197, allocations: 4 kB / 428.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.1198, allocations: 11.88 kB / 428.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.1199, allocations: 23.78 kB / 428.8 MB, free: 2.875 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0005736/0.1204, allocations: 135.6 kB / 428.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1206, allocations: 123.6 kB / 429 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.1207, allocations: 1.125 kB / 429 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.1207, allocations: 51.83 kB / 429.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006218/0.1214, allocations: 78.88 kB / 429.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.1214, allocations: 12 kB / 429.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.1216, allocations: 115.9 kB / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.1217, allocations: 35.91 kB / 429.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.1218, allocations: 59.58 kB / 429.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.1221, allocations: 199.2 kB / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1221, allocations: 0 / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1221, allocations: 0 / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.1221, allocations: 0 / 429.6 MB, free: 2.082 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.0007404/0.1228, allocations: 458.5 kB / 430 MB, free: 1.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1229, allocations: 8.031 kB / 430 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.127e-05/0.123, allocations: 38.75 kB / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.1233, allocations: 40.81 kB / 430.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.1235, allocations: 212 kB / 430.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.1235, allocations: 4.375 kB / 430.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1235, allocations: 4.375 kB / 430.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.1238, allocations: 121.6 kB / 430.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1238, allocations: 3.938 kB / 430.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1238, allocations: 0 / 430.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1238, allocations: 4 kB / 430.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.124, allocations: 63.89 kB / 430.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/0.1247, allocations: 440.8 kB / 430.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.125, allocations: 125.2 kB / 431.1 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1251, allocations: 53.75 kB / 431.1 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1251, allocations: 4 kB / 431.1 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.1254, allocations: 145.1 kB / 431.3 MB, free: 192 kB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.1254, allocations: 0 / 431.3 MB, free: 192 kB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005333/0.1259, allocations: 241.4 kB / 431.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.126, allocations: 93.09 kB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1261, allocations: 182.3 kB / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.1262, allocations: 41.69 kB / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.1263, allocations: 112.5 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.1263, allocations: 39.69 kB / 432 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.1264, allocations: 57.92 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1265, allocations: 334.8 kB / 432.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.1267, allocations: 96.47 kB / 432.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.1269, allocations: 131.6 kB / 432.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.1273, allocations: 206.9 kB / 432.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1273, allocations: 0 / 432.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004817/0.1277, allocations: 305.3 kB / 433.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1278, allocations: 4 kB / 433.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.1278, allocations: 0 / 433.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1278, allocations: 7.938 kB / 433.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1279, allocations: 31.91 kB / 433.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1279, allocations: 0 / 433.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.128, allocations: 19.89 kB / 433.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.128, allocations: 8 kB / 433.1 MB, free: 14.23 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.0001451/0.1282, allocations: 153.8 kB / 433.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.1282, allocations: 11.91 kB / 433.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.1282, allocations: 21.39 kB / 433.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1282, allocations: 0 / 433.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.1282, allocations: 4 kB / 433.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1282, allocations: 0 / 433.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.1284, allocations: 205.5 kB / 433.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1284, allocations: 0 / 433.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.1285, allocations: 19.98 kB / 433.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1285, allocations: 0 / 433.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1285, allocations: 4 kB / 433.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1285, allocations: 0 / 433.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1285, allocations: 0 / 433.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.1289, allocations: 230.8 kB / 433.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.1289, allocations: 97 kB / 433.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.129, allocations: 8 kB / 433.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/0.129, allocations: 11.92 kB / 433.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.1291, allocations: 11.98 kB / 433.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.1291, allocations: 4 kB / 433.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.1292, allocations: 128.2 kB / 434 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1292, allocations: 0 / 434 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1295, allocations: 47.88 kB / 434.1 MB, free: 13.18 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.001148/0.1306, allocations: 0.9075 MB / 435 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.131, allocations: 179.8 kB / 435.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.131, allocations: 0 / 435.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1311, allocations: 52.05 kB / 435.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.1313, allocations: 14.36 kB / 435.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.1338, allocations: 2.108 MB / 437.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1341, allocations: 0.7157 MB / 438 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.872e-05/0.1342, allocations: 20.8 kB / 438.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.1342, allocations: 39.42 kB / 438.1 MB, free: 9.023 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1342, allocations: 0 / 438.1 MB, free: 9.023 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.1623, allocations: 3.653 MB / 441.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.417, allocations: 0 / 441.8 MB, free: 5.445 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 11.186364872846752]