Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001294/0.001294, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 43.94 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 46.62 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002993/0.1208, allocations: 1.721 MB / 328.3 MB, free: 3.156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.1228, allocations: 1.26 MB / 329.6 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.1229, allocations: 4 kB / 329.6 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.1233, allocations: 31.83 kB / 329.6 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.435e-05/0.1234, allocations: 27.84 kB / 329.6 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.124, allocations: 239.5 kB / 329.9 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.1242, allocations: 175.5 kB / 330 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.1243, allocations: 29.05 kB / 330.1 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1244, allocations: 67.75 kB / 330.1 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.1246, allocations: 103.6 kB / 330.2 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1247, allocations: 4 kB / 330.2 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.1251, allocations: 295.5 kB / 330.5 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.268e-05/0.1252, allocations: 51.81 kB / 330.6 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.946e-05/0.1253, allocations: 71.53 kB / 330.7 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.1257, allocations: 335.4 kB / 331 MB, free: 488 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1258, allocations: 0 / 331 MB, free: 488 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1258, allocations: 0 / 331 MB, free: 488 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1258, allocations: 0 / 331 MB, free: 488 kB / 270.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.001231/0.127, allocations: 0.5572 MB / 331.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1271, allocations: 15.95 kB / 331.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.1273, allocations: 24.75 kB / 331.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.1277, allocations: 280.7 kB / 331.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1277, allocations: 384 / 331.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.1278, allocations: 16.38 kB / 331.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.128, allocations: 105.9 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.128, allocations: 3.906 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.128, allocations: 4 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.128, allocations: 4 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.1282, allocations: 79.88 kB / 332.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007515/0.129, allocations: 444.6 kB / 332.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.1292, allocations: 114.5 kB / 332.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1293, allocations: 60.83 kB / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.1294, allocations: 96 / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.1296, allocations: 123.3 kB / 332.8 MB, free: 14.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1296, allocations: 0 / 332.8 MB, free: 14.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004503/0.13, allocations: 237.4 kB / 333 MB, free: 14.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1301, allocations: 59.39 kB / 333.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.1305, allocations: 255.7 kB / 333.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.1305, allocations: 37.7 kB / 333.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.1306, allocations: 116.1 kB / 333.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.1306, allocations: 47.36 kB / 333.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.1307, allocations: 41.7 kB / 333.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1308, allocations: 338.8 kB / 333.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.131, allocations: 79.95 kB / 334 MB, free: 13.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.1312, allocations: 113.5 kB / 334.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.1315, allocations: 185.7 kB / 334.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1315, allocations: 4 kB / 334.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003854/0.1319, allocations: 249.3 kB / 334.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1319, allocations: 8 kB / 334.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1319, allocations: 0 / 334.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1319, allocations: 0 / 334.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.1321, allocations: 43.88 kB / 334.6 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1321, allocations: 0 / 334.6 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.1323, allocations: 27.83 kB / 334.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1323, allocations: 4 kB / 334.6 MB, free: 12.62 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,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.0001102/0.1324, allocations: 141.6 kB / 334.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.1325, allocations: 31.72 kB / 334.8 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.1325, allocations: 17.53 kB / 334.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1325, allocations: 7.938 kB / 334.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1326, allocations: 0 / 334.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1326, allocations: 4 kB / 334.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.1328, allocations: 237.5 kB / 335 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1328, allocations: 0 / 335 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.1329, allocations: 19.98 kB / 335 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1329, allocations: 4 kB / 335 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1329, allocations: 0 / 335 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1329, allocations: 3.938 kB / 335 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.133, allocations: 7.922 kB / 335.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.1334, allocations: 277.2 kB / 335.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.1335, allocations: 104.9 kB / 335.4 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.1335, allocations: 19.98 kB / 335.5 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.1337, allocations: 19.91 kB / 335.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.1338, allocations: 4 kB / 335.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1338, allocations: 7.984 kB / 335.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002933/0.1341, allocations: 193.5 kB / 335.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1341, allocations: 0 / 335.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00032/0.1344, allocations: 91.98 kB / 335.8 MB, free: 11.36 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 (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.0006/0.135, allocations: 265.5 kB / 336 MB, free: 11.1 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.1354, allocations: 171.8 kB / 336.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1354, allocations: 64 / 336.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1355, allocations: 71.97 kB / 336.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.1357, allocations: 19.77 kB / 336.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006522/0.1364, allocations: 412 kB / 336.7 MB, free: 10.42 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.1367, allocations: 0.7244 MB / 337.4 MB, free: 9.668 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.21e-05/0.1368, allocations: 37.39 kB / 337.4 MB, free: 9.625 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.1368, allocations: 15.44 kB / 337.5 MB, free: 9.613 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1368, allocations: 0 / 337.5 MB, free: 9.613 MB / 286.1 MB Notification: Performance of Templates: time 0.006173/0.143, allocations: 3.01 MB / 340.5 MB, free: 6.602 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches