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.001033/0.001033, allocations: 99.84 kB / 16.95 MB, free: 6.09 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.001601/0.001601, allocations: 182 kB / 17.84 MB, free: 5.711 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.869/1.869, allocations: 205.4 MB / 224 MB, free: 13.14 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.0005487/0.0005487, allocations: 8 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1344, allocations: 47.58 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.00201/0.1365, allocations: 1.355 MB / 329.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.1387, allocations: 1.152 MB / 330.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1388, allocations: 0 / 330.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.1392, allocations: 23.84 kB / 330.9 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.1394, allocations: 35.83 kB / 330.9 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007052/0.1401, allocations: 231.4 kB / 331.1 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1403, allocations: 159.6 kB / 331.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.1404, allocations: 13.08 kB / 331.3 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.1406, allocations: 83.67 kB / 331.4 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1407, allocations: 91.69 kB / 331.5 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1408, allocations: 11.94 kB / 331.5 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.1412, allocations: 303.4 kB / 331.8 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.831e-05/0.1413, allocations: 39.89 kB / 331.8 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.1414, allocations: 49.62 kB / 331.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.1417, allocations: 235.8 kB / 332.1 MB, free: 288 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.1417, allocations: 4 kB / 332.1 MB, free: 284 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1418, allocations: 0 / 332.1 MB, free: 284 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.1418, allocations: 0 / 332.1 MB, free: 284 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.001216/0.143, allocations: 0.5336 MB / 332.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.143, allocations: 12.03 kB / 332.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.1433, allocations: 23.8 kB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.1438, allocations: 267.7 kB / 332.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.1439, allocations: 11.94 kB / 333 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.1439, allocations: 11.91 kB / 333 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1442, allocations: 101.6 kB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1442, allocations: 3.938 kB / 333.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1442, allocations: 0 / 333.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1442, allocations: 4 kB / 333.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.1444, allocations: 95.86 kB / 333.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008935/0.1453, allocations: 452.6 kB / 333.6 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.1456, allocations: 126.5 kB / 333.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1457, allocations: 60.83 kB / 333.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.1458, allocations: 0 / 333.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.146, allocations: 127.2 kB / 333.9 MB, free: 14.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.146, allocations: 0 / 333.9 MB, free: 14.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005349/0.1465, allocations: 229.4 kB / 334.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.1466, allocations: 59.41 kB / 334.2 MB, free: 14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.147, allocations: 251.7 kB / 334.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.1471, allocations: 41.69 kB / 334.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.1471, allocations: 112.2 kB / 334.6 MB, free: 13.58 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.1473, allocations: 51.34 kB / 334.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.1473, allocations: 4 kB / 334.7 MB, free: 13.53 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1474, allocations: 334.8 kB / 335 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1476, allocations: 83.94 kB / 335.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.1478, allocations: 113.8 kB / 335.2 MB, free: 12.99 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.1479, allocations: 92.31 kB / 335.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.148, allocations: 96 / 335.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004206/0.1484, allocations: 262.2 kB / 335.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1484, allocations: 8 kB / 335.5 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1484, allocations: 4.031 kB / 335.5 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1485, allocations: 0 / 335.5 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.1486, allocations: 35.91 kB / 335.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1487, allocations: 4 kB / 335.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.1488, allocations: 27.83 kB / 335.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.1489, allocations: 7.984 kB / 335.6 MB, free: 12.55 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.0001365/0.149, allocations: 149.7 kB / 335.7 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.149, allocations: 15.81 kB / 335.8 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.1491, allocations: 17.53 kB / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1491, allocations: 0 / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1491, allocations: 0 / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.1491, allocations: 3.984 kB / 335.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1494, allocations: 249.4 kB / 336 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1494, allocations: 0 / 336 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1495, allocations: 15.98 kB / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1495, allocations: 4 kB / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1495, allocations: 7.984 kB / 336.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1495, allocations: 0 / 336.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1496, allocations: 0 / 336.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.15, allocations: 280.9 kB / 336.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1501, allocations: 116.9 kB / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.1502, allocations: 4.062 kB / 336.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.1504, allocations: 19.97 kB / 336.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.1504, allocations: 15.98 kB / 336.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1504, allocations: 0 / 336.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002931/0.1507, allocations: 189.4 kB / 336.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1507, allocations: 0 / 336.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004337/0.1512, allocations: 87.98 kB / 336.8 MB, free: 11.31 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.0007724/0.152, allocations: 284.9 kB / 337 MB, free: 11.03 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.1524, allocations: 176.2 kB / 337.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1524, allocations: 4 kB / 337.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.1525, allocations: 63.91 kB / 337.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.1528, allocations: 23.77 kB / 337.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.1535, allocations: 408.2 kB / 337.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1538, allocations: 0.7205 MB / 338.4 MB, free: 9.598 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1539, allocations: 33.39 kB / 338.4 MB, free: 9.559 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.154, allocations: 23.44 kB / 338.5 MB, free: 9.539 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.154, allocations: 0 / 338.5 MB, free: 9.539 MB / 286.1 MB Notification: Performance of Templates: time 0.006551/0.1605, allocations: 2.955 MB / 341.4 MB, free: 6.582 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