Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.002139/0.002139, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002486/0.002486, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.469/1.469, 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.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 63.89 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1071, allocations: 53.32 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003125/0.1102, allocations: 1.667 MB / 428.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.1125, allocations: 1.266 MB / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.1126, allocations: 4 kB / 429.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.113, allocations: 35.77 kB / 429.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.1131, allocations: 35.78 kB / 429.7 MB, free: 1.957 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.0007477/0.1138, allocations: 283.2 kB / 430 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.1141, allocations: 187.5 kB / 430.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1142, allocations: 13.11 kB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.1144, allocations: 87.73 kB / 430.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006018/0.115, allocations: 113.4 kB / 430.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.1151, allocations: 12 kB / 430.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.1155, allocations: 287.5 kB / 430.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.181e-05/0.1156, allocations: 51.83 kB / 430.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.1157, allocations: 79.5 kB / 430.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.1162, allocations: 318.9 kB / 431.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1162, allocations: 0 / 431.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1162, allocations: 0 / 431.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1162, allocations: 3.938 kB / 431.1 MB, free: 0.5508 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.001247/0.1175, allocations: 0.5682 MB / 431.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1175, allocations: 15.97 kB / 431.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.623e-05/0.1176, allocations: 34.75 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.1178, allocations: 32.78 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.1183, allocations: 265.1 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.1183, allocations: 4.375 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.1183, allocations: 16.34 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.1185, allocations: 105.7 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1186, allocations: 0 / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1186, allocations: 4 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1186, allocations: 0 / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.1188, allocations: 83.92 kB / 432.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.1196, allocations: 444.5 kB / 432.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.1199, allocations: 122.4 kB / 432.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.12, allocations: 59.7 kB / 432.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.12, allocations: 0 / 432.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.1202, allocations: 115.3 kB / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.1202, allocations: 3.938 kB / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005337/0.1208, allocations: 237.6 kB / 433.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.1208, allocations: 59.41 kB / 433.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004156/0.1212, allocations: 247.8 kB / 433.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.1213, allocations: 37.69 kB / 433.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.1214, allocations: 116.1 kB / 433.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.1214, allocations: 43.77 kB / 433.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.1215, allocations: 49.7 kB / 433.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1217, allocations: 338.8 kB / 434 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.1218, allocations: 83.95 kB / 434.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.122, allocations: 105.7 kB / 434.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.1223, allocations: 181.7 kB / 434.4 MB, free: 13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1223, allocations: 0 / 434.4 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004264/0.1227, allocations: 257.4 kB / 434.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1227, allocations: 10.03 kB / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1227, allocations: 0 / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1228, allocations: 3.938 kB / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.123, allocations: 31.97 kB / 434.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.123, allocations: 7.984 kB / 434.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.1231, allocations: 31.95 kB / 434.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.1232, allocations: 7.938 kB / 434.7 MB, free: 12.65 MB / 366.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: 17 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,whiteNoise.actualGlobalSeed,whiteNoise.localSeed,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 1 * 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.0001589/0.1233, allocations: 149.8 kB / 434.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1234, allocations: 15.91 kB / 434.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.287e-05/0.1234, allocations: 17.53 kB / 434.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.1234, allocations: 7.922 kB / 434.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1234, allocations: 3.938 kB / 434.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1234, allocations: 0 / 434.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.1237, allocations: 241.5 kB / 435.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1237, allocations: 3.984 kB / 435.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.1238, allocations: 16 kB / 435.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1238, allocations: 4 kB / 435.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1239, allocations: 7.984 kB / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1239, allocations: 3.938 kB / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1239, allocations: 3.938 kB / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.1243, allocations: 270.1 kB / 435.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1245, allocations: 109 kB / 435.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.1245, allocations: 8 kB / 435.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1247, allocations: 27.97 kB / 435.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.1247, allocations: 7.984 kB / 435.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1247, allocations: 0 / 435.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.125, allocations: 189.5 kB / 435.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.125, allocations: 0 / 435.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003768/0.1254, allocations: 87.73 kB / 435.9 MB, free: 11.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00136/0.1268, allocations: 0.9629 MB / 436.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.1271, allocations: 166.5 kB / 437 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1271, allocations: 7.938 kB / 437 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.1273, allocations: 55.97 kB / 437.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.1275, allocations: 18.41 kB / 437.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.131, allocations: 2.372 MB / 439.5 MB, free: 7.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.1313, allocations: 0.728 MB / 440.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.1314, allocations: 37.38 kB / 440.2 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.1315, allocations: 47.42 kB / 440.3 MB, free: 6.898 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1315, allocations: 0 / 440.3 MB, free: 6.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.1627, allocations: 5.143 MB / 445.4 MB, free: 1.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.472/8.635, allocations: 14.56 kB / 445.4 MB, free: 1.836 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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: 12.585476687178016]