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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: 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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009741/0.0009742, allocations: 99.3 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009585/0.0009586, allocations: 208.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002607/0.0002609, allocations: 11.98 kB / 306.6 MB, free: 1.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 51.49 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001735/0.1183, allocations: 1.353 MB / 359.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1201, allocations: 1.182 MB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.1202, allocations: 0 / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.1205, allocations: 23.84 kB / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.541e-05/0.1206, allocations: 39.88 kB / 360.7 MB, free: 11.55 MB / 302.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.00059/0.1212, allocations: 223.4 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1214, allocations: 99.75 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1215, allocations: 28.98 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.1217, allocations: 87.72 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.1219, allocations: 87.7 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1219, allocations: 8 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.1223, allocations: 267.6 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.1224, allocations: 47.88 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.1224, allocations: 45.58 kB / 361.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.1227, allocations: 235.8 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1227, allocations: 4 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1227, allocations: 0 / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1227, allocations: 0 / 361.8 MB, free: 10.43 MB / 302.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.001069/0.1238, allocations: 0.5336 MB / 362.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1239, allocations: 8.031 kB / 362.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.1241, allocations: 27.8 kB / 362.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.1245, allocations: 259.7 kB / 362.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1245, allocations: 8 kB / 362.6 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.1246, allocations: 15.86 kB / 362.6 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.1248, allocations: 113.6 kB / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1248, allocations: 0 / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1248, allocations: 0 / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1248, allocations: 0 / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.125, allocations: 79.94 kB / 362.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.1258, allocations: 456.6 kB / 363.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.126, allocations: 122.5 kB / 363.4 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.1261, allocations: 8 kB / 363.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.1263, allocations: 119.2 kB / 363.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.1263, allocations: 0 / 363.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004903/0.1268, allocations: 318.5 kB / 363.8 MB, free: 8.203 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.1268, allocations: 59.41 kB / 363.9 MB, free: 8.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.1272, allocations: 247.8 kB / 364.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.1272, allocations: 37.69 kB / 364.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.1273, allocations: 116.2 kB / 364.3 MB, free: 7.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.1274, allocations: 51.38 kB / 364.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.1274, allocations: 0 / 364.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1275, allocations: 330.8 kB / 364.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.1277, allocations: 87.94 kB / 364.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.1278, allocations: 107 kB / 364.8 MB, free: 7.141 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.128, allocations: 104.9 kB / 364.9 MB, free: 7.039 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.128, allocations: 0 / 364.9 MB, free: 7.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003956/0.1284, allocations: 261.2 kB / 365.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1284, allocations: 8 kB / 365.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1284, allocations: 0 / 365.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1285, allocations: 0 / 365.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.1286, allocations: 35.92 kB / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1286, allocations: 0 / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.1288, allocations: 31.81 kB / 365.3 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1289, allocations: 12.03 kB / 365.3 MB, free: 6.695 MB / 302.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.0001241/0.129, allocations: 149.6 kB / 365.4 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.129, allocations: 11.81 kB / 365.4 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.1291, allocations: 29.52 kB / 365.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1291, allocations: 0 / 365.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1291, allocations: 0 / 365.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1291, allocations: 0 / 365.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.1293, allocations: 237.5 kB / 365.7 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1293, allocations: 7.953 kB / 365.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.1295, allocations: 15.98 kB / 365.7 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1295, allocations: 0 / 365.7 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1295, allocations: 8 kB / 365.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1295, allocations: 0 / 365.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1295, allocations: 0 / 365.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.1299, allocations: 284.9 kB / 366 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.449e-05/0.13, allocations: 112.8 kB / 366.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1301, allocations: 7.984 kB / 366.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.1303, allocations: 15.98 kB / 366.1 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.1303, allocations: 7.984 kB / 366.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1303, allocations: 8 kB / 366.1 MB, free: 5.727 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002887/0.1306, allocations: 192.2 kB / 366.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1306, allocations: 0 / 366.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.131, allocations: 87.98 kB / 366.4 MB, free: 5.453 MB / 302.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.0005893/0.1316, allocations: 261.7 kB / 366.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.1319, allocations: 184.2 kB / 366.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1319, allocations: 0 / 366.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1321, allocations: 64.03 kB / 366.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.1323, allocations: 16 kB / 366.9 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.1329, allocations: 394.5 kB / 367.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1332, allocations: 0.7283 MB / 368 MB, free: 3.789 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.69e-05/0.1333, allocations: 37.39 kB / 368.1 MB, free: 3.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.1333, allocations: 15.44 kB / 368.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1333, allocations: 0 / 368.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of Templates: time 0.005977/0.1393, allocations: 2.832 MB / 370.9 MB, free: 0.9062 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (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 & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches