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.002076/0.002076, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002446/0.002446, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 60.53 kB / 307 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1225, allocations: 50.53 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003751/0.1263, allocations: 1.655 MB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.1292, allocations: 1.261 MB / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.1294, allocations: 0 / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.1299, allocations: 31.8 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.1301, allocations: 39.75 kB / 360.5 MB, free: 11.04 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.0008941/0.131, allocations: 295.1 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1312, allocations: 171.6 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1314, allocations: 21.06 kB / 361 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.1316, allocations: 95.61 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006307/0.1323, allocations: 99.69 kB / 361.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.1323, allocations: 12 kB / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005974/0.1329, allocations: 271.6 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.133, allocations: 51.81 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.847e-05/0.1331, allocations: 67.59 kB / 361.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005322/0.1337, allocations: 335.4 kB / 361.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1337, allocations: 0 / 361.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1337, allocations: 0 / 361.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.1337, allocations: 0 / 361.9 MB, free: 9.645 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.001371/0.1351, allocations: 0.5493 MB / 362.4 MB, free: 9.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/0.1352, allocations: 12.03 kB / 362.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.1354, allocations: 28.64 kB / 362.5 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.136, allocations: 276.7 kB / 362.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.136, allocations: 12.36 kB / 362.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.136, allocations: 16.12 kB / 362.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.1363, allocations: 101.6 kB / 362.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1363, allocations: 0 / 362.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1363, allocations: 0 / 362.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1363, allocations: 4 kB / 362.9 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.1366, allocations: 71.94 kB / 363 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/0.1375, allocations: 456.5 kB / 363.4 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.1377, allocations: 118.5 kB / 363.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1379, allocations: 56.83 kB / 363.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.1379, allocations: 7.938 kB / 363.6 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.1382, allocations: 119.4 kB / 363.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.1382, allocations: 0 / 363.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005241/0.1387, allocations: 229.5 kB / 363.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.1388, allocations: 59.41 kB / 364 MB, free: 7.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.1393, allocations: 255.7 kB / 364.2 MB, free: 7.113 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.1393, allocations: 37.7 kB / 364.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1394, allocations: 116.2 kB / 364.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.178e-05/0.1395, allocations: 55.31 kB / 364.4 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.1396, allocations: 41.7 kB / 364.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1398, allocations: 334.8 kB / 364.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.14, allocations: 83.95 kB / 364.9 MB, free: 6.434 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.1402, allocations: 114 kB / 365 MB, free: 6.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.1405, allocations: 178.5 kB / 365.2 MB, free: 6.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1405, allocations: 0 / 365.2 MB, free: 6.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004811/0.141, allocations: 253.3 kB / 365.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.1411, allocations: 8 kB / 365.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.1411, allocations: 7.938 kB / 365.4 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.1411, allocations: 4.031 kB / 365.4 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1413, allocations: 31.92 kB / 365.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1413, allocations: 0 / 365.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.1415, allocations: 27.88 kB / 365.5 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.1416, allocations: 4 kB / 365.5 MB, free: 5.805 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,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.0001956/0.1418, allocations: 141.8 kB / 365.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.1418, allocations: 15.81 kB / 365.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.1419, allocations: 29.45 kB / 365.7 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1419, allocations: 0 / 365.7 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1419, allocations: 0 / 365.7 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1419, allocations: 4 kB / 365.7 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.1423, allocations: 241.5 kB / 365.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1423, allocations: 7.875 kB / 365.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.1424, allocations: 15.98 kB / 365.9 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.1424, allocations: 4 kB / 366 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1424, allocations: 3.938 kB / 366 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1424, allocations: 0 / 366 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.1425, allocations: 7.984 kB / 366 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.143, allocations: 282.8 kB / 366.2 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1431, allocations: 108.9 kB / 366.3 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.1432, allocations: 16.11 kB / 366.4 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.1434, allocations: 11.98 kB / 366.4 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.1435, allocations: 15.92 kB / 366.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.1435, allocations: 8.062 kB / 366.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004005/0.1439, allocations: 185.5 kB / 366.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1439, allocations: 0 / 366.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.1443, allocations: 87.89 kB / 366.7 MB, free: 4.559 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 (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.0007321/0.1451, allocations: 255.2 kB / 366.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004251/0.1455, allocations: 174.9 kB / 367.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.1455, allocations: 0 / 367.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.1457, allocations: 75.95 kB / 367.2 MB, free: 4.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1459, allocations: 16 kB / 367.2 MB, free: 4.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/0.1468, allocations: 353.8 kB / 367.5 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.1472, allocations: 0.728 MB / 368.2 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.1474, allocations: 41.39 kB / 368.3 MB, free: 2.891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.1474, allocations: 19.42 kB / 368.3 MB, free: 2.875 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1474, allocations: 0 / 368.3 MB, free: 2.875 MB / 302.1 MB Notification: Performance of Templates: time 0.1636/0.311, allocations: 2.999 MB / 371.3 MB, free: 19.88 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.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches