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.00111/0.00111, allocations: 109.4 kB / 18.4 MB, free: 4.699 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.001178/0.001178, allocations: 185.3 kB / 19.33 MB, free: 3.777 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.379/1.379, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001328/0.001328, allocations: 55.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.09048, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003089/0.09361, allocations: 1.645 MB / 377.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.09584, allocations: 1.229 MB / 378.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.09602, allocations: 0 / 378.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.09639, allocations: 39.77 kB / 378.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.09652, allocations: 39.77 kB / 378.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007903/0.09732, allocations: 291.1 kB / 379 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.09755, allocations: 171.6 kB / 379.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.09767, allocations: 32.98 kB / 379.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.09782, allocations: 79.73 kB / 379.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.09799, allocations: 103.6 kB / 379.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.09804, allocations: 12 kB / 379.4 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.09845, allocations: 283.5 kB / 379.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.975e-05/0.09855, allocations: 51.88 kB / 379.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.564e-05/0.09865, allocations: 71.53 kB / 379.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.09911, allocations: 339.1 kB / 380.2 MB, free: 200 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.09913, allocations: 0 / 380.2 MB, free: 200 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09914, allocations: 0 / 380.2 MB, free: 200 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.09915, allocations: 0 / 380.2 MB, free: 200 kB / 318.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.1864/0.2855, allocations: 0.5603 MB / 380.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2856, allocations: 14.17 kB / 380.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002538/0.2858, allocations: 27.77 kB / 380.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.2863, allocations: 266.4 kB / 381 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2863, allocations: 8.438 kB / 381 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.2864, allocations: 10 kB / 381 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.2866, allocations: 108.2 kB / 381.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2866, allocations: 0.875 kB / 381.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2866, allocations: 4.938 kB / 381.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2866, allocations: 4.469 kB / 381.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.2868, allocations: 77.62 kB / 381.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.2876, allocations: 447.2 kB / 381.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.2879, allocations: 128.9 kB / 381.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.288, allocations: 60.34 kB / 381.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.2881, allocations: 3.172 kB / 381.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.2883, allocations: 119.2 kB / 382 MB, free: 12.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.2883, allocations: 0 / 382 MB, free: 12.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004842/0.2888, allocations: 229.6 kB / 382.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.2888, allocations: 58.77 kB / 382.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.2892, allocations: 246.3 kB / 382.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2892, allocations: 39.02 kB / 382.5 MB, free: 12.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.2893, allocations: 120.5 kB / 382.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.2894, allocations: 38.56 kB / 382.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.2894, allocations: 50.98 kB / 382.7 MB, free: 12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.2895, allocations: 331.5 kB / 383.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.2897, allocations: 86.3 kB / 383.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.2899, allocations: 118.9 kB / 383.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.2903, allocations: 178.9 kB / 383.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2903, allocations: 0 / 383.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005293/0.2908, allocations: 257 kB / 383.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2908, allocations: 4.656 kB / 383.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2909, allocations: 5.688 kB / 383.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.2909, allocations: 1.281 kB / 383.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.2911, allocations: 30.64 kB / 383.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2911, allocations: 6.016 kB / 383.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.2913, allocations: 37.56 kB / 383.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.2913, allocations: 5.656 kB / 383.8 MB, free: 11.54 MB / 318.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.0001137/0.2914, allocations: 147 kB / 383.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.2915, allocations: 18.56 kB / 383.9 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.2915, allocations: 21.27 kB / 384 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/0.2915, allocations: 3.562 kB / 384 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2915, allocations: 4.938 kB / 384 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2916, allocations: 0.7031 kB / 384 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.2918, allocations: 235.1 kB / 384.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2918, allocations: 0 / 384.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.2919, allocations: 24.03 kB / 384.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2919, allocations: 3.703 kB / 384.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.2919, allocations: 2.125 kB / 384.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.292, allocations: 1.219 kB / 384.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.292, allocations: 4.969 kB / 384.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.2924, allocations: 276.8 kB / 384.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.2925, allocations: 109.4 kB / 384.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.2926, allocations: 13.14 kB / 384.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.2927, allocations: 16.36 kB / 384.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.2928, allocations: 12.48 kB / 384.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.2928, allocations: 3.562 kB / 384.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003032/0.2931, allocations: 195 kB / 384.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2931, allocations: 0 / 384.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004006/0.2935, allocations: 93.59 kB / 384.9 MB, free: 10.79 MB / 318.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.0005957/0.2941, allocations: 292.1 kB / 385.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003692/0.2945, allocations: 168 kB / 385.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2945, allocations: 0 / 385.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.2947, allocations: 66.47 kB / 385.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.2949, allocations: 15.59 kB / 385.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.2956, allocations: 395.5 kB / 385.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.2958, allocations: 0.7261 MB / 386.6 MB, free: 9.617 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.88e-05/0.2959, allocations: 16.97 kB / 386.6 MB, free: 9.609 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2959, allocations: 0 / 386.6 MB, free: 9.609 MB / 318.1 MB Notification: Performance of Templates: time 0.009726/0.3056, allocations: 3.652 MB / 390.3 MB, free: 9.246 MB / 318.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches