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.00157/0.00157, allocations: 106.5 kB / 17.73 MB, free: 5.363 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.001398/0.001398, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.643/1.643, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001249/0.001249, allocations: 47.94 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1046, allocations: 46.63 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003186/0.1078, allocations: 1.645 MB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1101, allocations: 1.221 MB / 378 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.1102, allocations: 0 / 378 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.1106, allocations: 31.78 kB / 378 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.1107, allocations: 39.77 kB / 378.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.1115, allocations: 299.1 kB / 378.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.1117, allocations: 183.5 kB / 378.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1118, allocations: 21.08 kB / 378.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.112, allocations: 79.67 kB / 378.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1121, allocations: 99.64 kB / 378.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.1122, allocations: 12 kB / 378.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.1126, allocations: 287.5 kB / 379 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.023e-05/0.1127, allocations: 55.88 kB / 379.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.449e-05/0.1128, allocations: 71.53 kB / 379.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.1133, allocations: 334.8 kB / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1133, allocations: 0 / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1133, allocations: 0 / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1133, allocations: 0 / 379.5 MB, free: 208 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.2669/0.3802, allocations: 0.56 MB / 380.1 MB, free: 13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.626e-05/0.3803, allocations: 13.52 kB / 380.1 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.3806, allocations: 31.3 kB / 380.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.3811, allocations: 277 kB / 380.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.3812, allocations: 3.625 kB / 380.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.3812, allocations: 10.78 kB / 380.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.3815, allocations: 103.4 kB / 380.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3815, allocations: 1.266 kB / 380.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.3815, allocations: 6.391 kB / 380.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3815, allocations: 1.375 kB / 380.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.3817, allocations: 78.44 kB / 380.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000894/0.3826, allocations: 451 kB / 381 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.383, allocations: 127.3 kB / 381.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.3831, allocations: 55.75 kB / 381.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.3832, allocations: 4.75 kB / 381.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/0.3835, allocations: 118.4 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.635e-06/0.3835, allocations: 5.844 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006929/0.3842, allocations: 237.2 kB / 381.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3843, allocations: 60.7 kB / 381.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.3848, allocations: 249.5 kB / 381.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.3848, allocations: 39.8 kB / 381.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.385, allocations: 118.1 kB / 382 MB, free: 12.06 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.385, allocations: 41.2 kB / 382 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3852, allocations: 51 kB / 382.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3853, allocations: 329.6 kB / 382.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.3856, allocations: 86.52 kB / 382.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.3859, allocations: 114.8 kB / 382.6 MB, free: 11.69 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.3863, allocations: 180.2 kB / 382.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3863, allocations: 1.391 kB / 382.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006324/0.3869, allocations: 256 kB / 383 MB, free: 11.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.387, allocations: 10.31 kB / 383 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.387, allocations: 1.969 kB / 383.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.387, allocations: 1.281 kB / 383.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.3872, allocations: 36.42 kB / 383.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.3873, allocations: 6.562 kB / 383.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.3875, allocations: 23.05 kB / 383.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.3875, allocations: 13.75 kB / 383.1 MB, free: 11.57 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.0001601/0.3877, allocations: 140.6 kB / 383.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.3877, allocations: 18.75 kB / 383.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.3878, allocations: 20.09 kB / 383.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3878, allocations: 1.75 kB / 383.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.3878, allocations: 6.688 kB / 383.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3879, allocations: 1.156 kB / 383.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.3882, allocations: 245.8 kB / 383.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3883, allocations: 1.219 kB / 383.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.3884, allocations: 17.06 kB / 383.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3884, allocations: 0 / 383.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.3884, allocations: 2.281 kB / 383.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3885, allocations: 9.375 kB / 383.6 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3885, allocations: 3.938 kB / 383.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/0.3891, allocations: 274.2 kB / 383.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3892, allocations: 114.1 kB / 384 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.3892, allocations: 6.953 kB / 384 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.3894, allocations: 16.05 kB / 384 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.3895, allocations: 20.42 kB / 384 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3895, allocations: 4.141 kB / 384 MB, free: 10.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003543/0.3899, allocations: 187.3 kB / 384.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3899, allocations: 5.156 kB / 384.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005258/0.3904, allocations: 91.78 kB / 384.3 MB, free: 10.81 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.0008737/0.3913, allocations: 283.7 kB / 384.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004979/0.3918, allocations: 175.2 kB / 384.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3918, allocations: 0 / 384.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.392, allocations: 67.08 kB / 384.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3923, allocations: 20.23 kB / 384.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009587/0.3933, allocations: 360.4 kB / 385.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3936, allocations: 0.7313 MB / 385.9 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.3937, allocations: 30.69 kB / 385.9 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.3938, allocations: 18.3 kB / 386 MB, free: 9.652 MB / 318.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3938, allocations: 0 / 386 MB, free: 9.652 MB / 318.1 MB Notification: Performance of Templates: time 0.009435/0.4033, allocations: 3.152 MB / 389.1 MB, free: 9.371 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/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