Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001182, allocations: 93.88 kB / 16.3 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 183.5 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003878, allocations: 7.875 kB / 300.7 MB, free: 6.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 50.42 MB / 351.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001742/0.1171, allocations: 1.343 MB / 352.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.119, allocations: 1.135 MB / 353.6 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.735e-05/0.1192, allocations: 0 / 353.6 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.1195, allocations: 27.84 kB / 353.6 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.947e-05/0.1196, allocations: 39.88 kB / 353.7 MB, free: 9.113 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.000626/0.1203, allocations: 223.4 kB / 353.9 MB, free: 8.895 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1204, allocations: 107.8 kB / 354 MB, free: 8.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.1205, allocations: 9.125 kB / 354 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.1207, allocations: 83.72 kB / 354.1 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.1209, allocations: 83.7 kB / 354.2 MB, free: 8.617 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1209, allocations: 11.94 kB / 354.2 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.1213, allocations: 271.6 kB / 354.5 MB, free: 8.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.1214, allocations: 39.89 kB / 354.5 MB, free: 8.301 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.1215, allocations: 49.58 kB / 354.5 MB, free: 8.246 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1218, allocations: 227.5 kB / 354.8 MB, free: 8.023 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1218, allocations: 0 / 354.8 MB, free: 8.023 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1218, allocations: 0 / 354.8 MB, free: 8.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.1218, allocations: 0 / 354.8 MB, free: 8.023 MB / 286.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.00113/0.1229, allocations: 0.5297 MB / 355.3 MB, free: 7.445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.123, allocations: 12.02 kB / 355.3 MB, free: 7.434 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.1232, allocations: 27.77 kB / 355.3 MB, free: 7.406 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.1236, allocations: 275.6 kB / 355.6 MB, free: 7.094 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1236, allocations: 8 kB / 355.6 MB, free: 7.086 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.1237, allocations: 7.906 kB / 355.6 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.1239, allocations: 101.6 kB / 355.7 MB, free: 6.973 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1239, allocations: 3.984 kB / 355.7 MB, free: 6.969 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.1239, allocations: 3.984 kB / 355.7 MB, free: 6.965 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1239, allocations: 4 kB / 355.7 MB, free: 6.961 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.1241, allocations: 95.77 kB / 355.8 MB, free: 6.867 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008001/0.1249, allocations: 444.6 kB / 356.3 MB, free: 6.383 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.1252, allocations: 130.5 kB / 356.4 MB, free: 6.246 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1252, allocations: 0 / 356.4 MB, free: 6.246 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.1254, allocations: 131.4 kB / 356.5 MB, free: 6.105 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.1254, allocations: 0 / 356.5 MB, free: 6.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004944/0.1259, allocations: 318.5 kB / 356.8 MB, free: 5.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.126, allocations: 63.39 kB / 356.9 MB, free: 5.695 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.1263, allocations: 240.8 kB / 357.1 MB, free: 5.449 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.1264, allocations: 37.7 kB / 357.2 MB, free: 5.406 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.1265, allocations: 120.1 kB / 357.3 MB, free: 5.285 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.1265, allocations: 47.53 kB / 357.3 MB, free: 5.238 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.1265, allocations: 4 kB / 357.3 MB, free: 5.234 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1267, allocations: 334.8 kB / 357.7 MB, free: 4.898 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.1268, allocations: 83.89 kB / 357.7 MB, free: 4.816 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.127, allocations: 101.8 kB / 357.8 MB, free: 4.711 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1271, allocations: 100.1 kB / 357.9 MB, free: 4.613 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1272, allocations: 4 kB / 357.9 MB, free: 4.609 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003831/0.1275, allocations: 250.5 kB / 358.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1276, allocations: 7.938 kB / 358.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1276, allocations: 0 / 358.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.1276, allocations: 7.953 kB / 358.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.1278, allocations: 32 kB / 358.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.1278, allocations: 4 kB / 358.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.128, allocations: 35.75 kB / 358.3 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.128, allocations: 7.984 kB / 358.3 MB, free: 4.266 MB / 286.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,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.1281, allocations: 141.8 kB / 358.4 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.1282, allocations: 15.81 kB / 358.4 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.1282, allocations: 21.53 kB / 358.4 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1282, allocations: 3.953 kB / 358.5 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1282, allocations: 3.984 kB / 358.5 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1283, allocations: 0 / 358.5 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1285, allocations: 241.4 kB / 358.7 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1285, allocations: 0 / 358.7 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.1286, allocations: 23.98 kB / 358.7 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1286, allocations: 0 / 358.7 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1286, allocations: 3.984 kB / 358.7 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1286, allocations: 0 / 358.7 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1286, allocations: 3.953 kB / 358.7 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.1291, allocations: 280.8 kB / 359 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.1292, allocations: 108.9 kB / 359.1 MB, free: 3.336 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1292, allocations: 8 kB / 359.1 MB, free: 3.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1294, allocations: 24.03 kB / 359.1 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.1294, allocations: 7.984 kB / 359.1 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1295, allocations: 7.938 kB / 359.2 MB, free: 3.289 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003004/0.1298, allocations: 192.4 kB / 359.3 MB, free: 3.102 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1298, allocations: 0 / 359.3 MB, free: 3.102 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.1302, allocations: 79.98 kB / 359.4 MB, free: 3.023 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006108/0.1308, allocations: 261.4 kB / 359.7 MB, free: 2.789 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.1311, allocations: 185 kB / 359.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1312, allocations: 0 / 359.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.1313, allocations: 63.91 kB / 359.9 MB, free: 2.551 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.1315, allocations: 19.98 kB / 359.9 MB, free: 2.531 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006446/0.1321, allocations: 396.5 kB / 360.3 MB, free: 2.117 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1324, allocations: 0.7322 MB / 361.1 MB, free: 1.359 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.69e-05/0.1325, allocations: 29.41 kB / 361.1 MB, free: 1.328 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.1325, allocations: 23.42 kB / 361.1 MB, free: 1.305 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1325, allocations: 0 / 361.1 MB, free: 1.305 MB / 286.1 MB Notification: Performance of Templates: time 0.005565/0.1381, allocations: 2.807 MB / 363.9 MB, free: 14.5 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches