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.001263/0.001263, allocations: 113.7 kB / 17.28 MB, free: 6.219 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.001099/0.001099, allocations: 189.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001225/0.001225, allocations: 47.94 kB / 280.2 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.133, allocations: 46.62 MB / 326.8 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.004781/0.1379, allocations: 1.713 MB / 328.5 MB, free: 3.059 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.141, allocations: 1.233 MB / 329.7 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1412, allocations: 0 / 329.7 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004599/0.1417, allocations: 23.84 kB / 329.7 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1419, allocations: 43.83 kB / 329.8 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.1431, allocations: 255.5 kB / 330 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.1434, allocations: 179.6 kB / 330.2 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.1436, allocations: 25.05 kB / 330.2 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.1439, allocations: 83.67 kB / 330.3 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.1442, allocations: 95.64 kB / 330.4 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.1442, allocations: 12 kB / 330.4 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007831/0.145, allocations: 311.4 kB / 330.7 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.1452, allocations: 59.8 kB / 330.8 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1454, allocations: 63.59 kB / 330.9 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000779/0.1462, allocations: 343.3 kB / 331.2 MB, free: 356 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1462, allocations: 0 / 331.2 MB, free: 356 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1462, allocations: 0 / 331.2 MB, free: 356 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1462, allocations: 0 / 331.2 MB, free: 356 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.002058/0.1483, allocations: 0.5532 MB / 331.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/0.1484, allocations: 15.89 kB / 331.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.1488, allocations: 36.66 kB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/0.1495, allocations: 268.8 kB / 332.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.1496, allocations: 8.375 kB / 332.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.1497, allocations: 12.38 kB / 332.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.15, allocations: 105.9 kB / 332.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.1501, allocations: 3.906 kB / 332.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1501, allocations: 0 / 332.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.1501, allocations: 4 kB / 332.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.1505, allocations: 79.94 kB / 332.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.1519, allocations: 456.5 kB / 332.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.1523, allocations: 118.5 kB / 332.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.1525, allocations: 60.83 kB / 332.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1526, allocations: 4 kB / 332.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003477/0.1529, allocations: 119.4 kB / 333 MB, free: 14.36 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 2.825e-06/0.1529, allocations: 0 / 333 MB, free: 14.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008484/0.1538, allocations: 233.4 kB / 333.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.1539, allocations: 63.34 kB / 333.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007358/0.1546, allocations: 243.8 kB / 333.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/0.1547, allocations: 37.69 kB / 333.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.1549, allocations: 120.2 kB / 333.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/0.155, allocations: 47.34 kB / 333.7 MB, free: 13.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.1552, allocations: 45.7 kB / 333.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.1554, allocations: 338.8 kB / 334.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.1557, allocations: 83.95 kB / 334.2 MB, free: 13.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.156, allocations: 105.7 kB / 334.3 MB, free: 13.01 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.1566, allocations: 181.7 kB / 334.5 MB, free: 12.83 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.1566, allocations: 0 / 334.5 MB, free: 12.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008007/0.1574, allocations: 257.3 kB / 334.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1575, allocations: 12.03 kB / 334.7 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1575, allocations: 0 / 334.7 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1575, allocations: 0 / 334.7 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.1578, allocations: 35.86 kB / 334.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1579, allocations: 0 / 334.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.1582, allocations: 31.81 kB / 334.8 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.1583, allocations: 8 kB / 334.8 MB, free: 12.48 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.0002119/0.1585, allocations: 141.6 kB / 334.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.1586, allocations: 19.84 kB / 335 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-05/0.1587, allocations: 29.44 kB / 335 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.1587, allocations: 3.938 kB / 335 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.1587, allocations: 0 / 335 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1587, allocations: 0 / 335 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.1591, allocations: 245.5 kB / 335.2 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1591, allocations: 0 / 335.2 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.1594, allocations: 15.98 kB / 335.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1594, allocations: 0 / 335.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.1594, allocations: 8 kB / 335.3 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.1594, allocations: 3.938 kB / 335.3 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1595, allocations: 0 / 335.3 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.1603, allocations: 277.1 kB / 335.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.1605, allocations: 108.9 kB / 335.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.1606, allocations: 4 kB / 335.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.1609, allocations: 31.97 kB / 335.7 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.161, allocations: 11.98 kB / 335.7 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.161, allocations: 3.938 kB / 335.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005937/0.1616, allocations: 189.4 kB / 335.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1616, allocations: 0 / 335.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006666/0.1623, allocations: 95.97 kB / 336 MB, free: 11.23 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.001147/0.1635, allocations: 269.6 kB / 336.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008114/0.1643, allocations: 187.8 kB / 336.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1643, allocations: 0 / 336.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.1646, allocations: 63.97 kB / 336.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.165, allocations: 15.97 kB / 336.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009881/0.166, allocations: 410.2 kB / 336.9 MB, free: 10.28 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.1664, allocations: 0.7241 MB / 337.6 MB, free: 9.527 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.1665, allocations: 37.38 kB / 337.7 MB, free: 9.484 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.1666, allocations: 19.44 kB / 337.7 MB, free: 9.469 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1666, allocations: 0 / 337.7 MB, free: 9.469 MB / 286.1 MB Notification: Performance of Templates: time 0.008148/0.1747, allocations: 3.096 MB / 340.8 MB, free: 6.371 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