Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009589/0.000959, allocations: 175.5 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008177/0.0008177, allocations: 85.05 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 11.98 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2685, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.001703/0.2703, allocations: 1.349 MB / 376.4 MB, free: 44.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.2721, allocations: 1.147 MB / 377.6 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.157e-05/0.2722, allocations: 1.25 kB / 377.6 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.2726, allocations: 27.38 kB / 377.6 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.2727, allocations: 37.61 kB / 377.6 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.2735, allocations: 235.1 kB / 377.9 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.2737, allocations: 147.3 kB / 378 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2738, allocations: 29.64 kB / 378 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.2739, allocations: 73.59 kB / 378.1 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.2741, allocations: 81 kB / 378.2 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.2741, allocations: 6.188 kB / 378.2 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.2746, allocations: 299 kB / 378.5 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.2747, allocations: 54.69 kB / 378.5 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.2748, allocations: 83.11 kB / 378.6 MB, free: 42.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.2751, allocations: 237.1 kB / 378.9 MB, free: 42.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2752, allocations: 0 / 378.9 MB, free: 42.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2752, allocations: 0 / 378.9 MB, free: 42.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2752, allocations: 0 / 378.9 MB, free: 42.7 MB / 298.7 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.001071/0.2763, allocations: 0.5426 MB / 379.4 MB, free: 42.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2763, allocations: 9.406 kB / 379.4 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.2765, allocations: 27.92 kB / 379.4 MB, free: 42.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.2769, allocations: 277.2 kB / 379.7 MB, free: 41.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.2769, allocations: 4.406 kB / 379.7 MB, free: 41.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.277, allocations: 9.312 kB / 379.7 MB, free: 41.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.2772, allocations: 102.1 kB / 379.8 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2772, allocations: 4 kB / 379.8 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2772, allocations: 1.156 kB / 379.8 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2773, allocations: 5.266 kB / 379.8 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.2775, allocations: 89.75 kB / 379.9 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/0.2783, allocations: 456.5 kB / 380.4 MB, free: 41.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.2785, allocations: 124.9 kB / 380.5 MB, free: 41.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.2787, allocations: 62.67 kB / 380.6 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.2787, allocations: 2.25 kB / 380.6 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.2789, allocations: 123.8 kB / 380.7 MB, free: 41.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.2789, allocations: 0 / 380.7 MB, free: 41.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004788/0.2794, allocations: 239.1 kB / 380.9 MB, free: 41.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.2794, allocations: 55.28 kB / 381 MB, free: 41.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.2798, allocations: 245.1 kB / 381.2 MB, free: 40.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.2798, allocations: 46.81 kB / 381.2 MB, free: 40.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.2799, allocations: 114.9 kB / 381.4 MB, free: 40.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.28, allocations: 47.44 kB / 381.4 MB, free: 40.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.28, allocations: 3.984 kB / 381.4 MB, free: 40.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.28, allocations: 332.5 kB / 381.7 MB, free: 40.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.2802, allocations: 87.09 kB / 381.8 MB, free: 40.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.2804, allocations: 113.8 kB / 381.9 MB, free: 40.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.2807, allocations: 191 kB / 382.1 MB, free: 40.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2807, allocations: 0 / 382.1 MB, free: 40.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004217/0.2811, allocations: 250.7 kB / 382.4 MB, free: 39.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2812, allocations: 9.75 kB / 382.4 MB, free: 39.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2812, allocations: 3.984 kB / 382.4 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.2812, allocations: 2.312 kB / 382.4 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.2814, allocations: 34.77 kB / 382.4 MB, free: 39.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2814, allocations: 5.141 kB / 382.4 MB, free: 39.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.2816, allocations: 33.91 kB / 382.4 MB, free: 39.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.2816, allocations: 4.75 kB / 382.5 MB, free: 39.95 MB / 298.7 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.000116/0.2818, allocations: 155.7 kB / 382.6 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.2818, allocations: 19.47 kB / 382.6 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.2818, allocations: 21.17 kB / 382.6 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2819, allocations: 6 kB / 382.7 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2819, allocations: 0 / 382.7 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2819, allocations: 1.094 kB / 382.7 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.2821, allocations: 236.5 kB / 382.9 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2821, allocations: 0 / 382.9 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.2822, allocations: 20.36 kB / 382.9 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2822, allocations: 5.094 kB / 382.9 MB, free: 39.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2822, allocations: 1.469 kB / 382.9 MB, free: 39.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2822, allocations: 5.188 kB / 382.9 MB, free: 39.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2822, allocations: 0 / 382.9 MB, free: 39.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.2827, allocations: 275.7 kB / 383.2 MB, free: 39.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.2828, allocations: 114.2 kB / 383.3 MB, free: 39.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.2828, allocations: 9.062 kB / 383.3 MB, free: 39.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.283, allocations: 23 kB / 383.3 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.2831, allocations: 8.328 kB / 383.3 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.2831, allocations: 2.375 kB / 383.3 MB, free: 39.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002802/0.2834, allocations: 190.5 kB / 383.5 MB, free: 39.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2834, allocations: 4.938 kB / 383.5 MB, free: 39.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003533/0.2837, allocations: 94.06 kB / 383.6 MB, free: 39.05 MB / 298.7 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.0006315/0.2844, allocations: 294.3 kB / 383.9 MB, free: 38.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.2847, allocations: 170.4 kB / 384.1 MB, free: 38.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2848, allocations: 0 / 384.1 MB, free: 38.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.2849, allocations: 71.36 kB / 384.1 MB, free: 38.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.2851, allocations: 25.56 kB / 384.2 MB, free: 38.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.2858, allocations: 431.5 kB / 384.6 MB, free: 38.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.286, allocations: 0.727 MB / 385.3 MB, free: 37.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.2861, allocations: 16.75 kB / 385.3 MB, free: 37.7 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2861, allocations: 0 / 385.3 MB, free: 37.7 MB / 298.7 MB Notification: Performance of Templates: time 0.005014/0.2911, allocations: 3.595 MB / 388.9 MB, free: 34.48 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches