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.001342/0.001342, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001401/0.001401, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.361/1.361, allocations: 205.1 MB / 225 MB, free: 12.32 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.001217/0.001217, allocations: 52.41 kB / 281.3 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.09002, allocations: 46.63 MB / 327.9 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.00345/0.09352, allocations: 1.646 MB / 329.6 MB, free: 2.812 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.0956, allocations: 1.222 MB / 330.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.09576, allocations: 4 kB / 330.8 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.09611, allocations: 31.78 kB / 330.9 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.09624, allocations: 43.7 kB / 330.9 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007571/0.09701, allocations: 291.2 kB / 331.2 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.09727, allocations: 179.6 kB / 331.4 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.09739, allocations: 17.08 kB / 331.4 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.09754, allocations: 83.67 kB / 331.5 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.09774, allocations: 103.6 kB / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.09778, allocations: 12 kB / 331.6 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.09822, allocations: 283.5 kB / 331.8 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.09833, allocations: 51.81 kB / 331.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.255e-05/0.09843, allocations: 79.5 kB / 332 MB, free: 432 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.09891, allocations: 331.5 kB / 332.3 MB, free: 100 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.09892, allocations: 0 / 332.3 MB, free: 100 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09893, allocations: 0 / 332.3 MB, free: 100 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.09894, allocations: 0 / 332.3 MB, free: 100 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.001265/0.1002, allocations: 0.5649 MB / 332.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1003, allocations: 11.89 kB / 332.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.1005, allocations: 28.73 kB / 332.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.1009, allocations: 268.9 kB / 333.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.101, allocations: 4.375 kB / 333.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.101, allocations: 8.375 kB / 333.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.1013, allocations: 113.9 kB / 333.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1013, allocations: 7.844 kB / 333.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1013, allocations: 4 kB / 333.3 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1013, allocations: 0 / 333.3 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.1015, allocations: 83.88 kB / 333.4 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/0.1024, allocations: 448.6 kB / 333.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.1027, allocations: 118.5 kB / 333.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1028, allocations: 60.83 kB / 334 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.1028, allocations: 0 / 334 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.103, allocations: 123.3 kB / 334.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.103, allocations: 0 / 334.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004729/0.1035, allocations: 233.5 kB / 334.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.1036, allocations: 63.39 kB / 334.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.104, allocations: 243.9 kB / 334.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.104, allocations: 37.7 kB / 334.7 MB, free: 13.51 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.1041, allocations: 116.1 kB / 334.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.1041, allocations: 47.36 kB / 334.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.733e-05/0.1042, allocations: 49.69 kB / 334.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1044, allocations: 334.8 kB / 335.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1045, allocations: 83.94 kB / 335.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.1047, allocations: 101.7 kB / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.105, allocations: 189.8 kB / 335.6 MB, free: 12.58 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.105, allocations: 0 / 335.6 MB, free: 12.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004449/0.1055, allocations: 249.3 kB / 335.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1055, allocations: 11.94 kB / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1055, allocations: 0 / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1056, allocations: 0 / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.1058, allocations: 39.84 kB / 335.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1058, allocations: 0 / 335.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.106, allocations: 35.84 kB / 335.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.106, allocations: 4 kB / 335.9 MB, free: 12.24 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.0001412/0.1062, allocations: 149.5 kB / 336.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.1062, allocations: 15.81 kB / 336.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.1063, allocations: 17.53 kB / 336.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1063, allocations: 3.938 kB / 336.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1063, allocations: 4 kB / 336.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1063, allocations: 7.984 kB / 336.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.1065, allocations: 237.5 kB / 336.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1066, allocations: 8 kB / 336.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.1067, allocations: 15.98 kB / 336.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1067, allocations: 0 / 336.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1067, allocations: 3.984 kB / 336.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1067, allocations: 3.938 kB / 336.4 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1067, allocations: 0 / 336.4 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.1072, allocations: 276.8 kB / 336.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.1073, allocations: 112.9 kB / 336.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.1073, allocations: 8 kB / 336.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.1075, allocations: 20.09 kB / 336.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.1076, allocations: 7.984 kB / 336.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1076, allocations: 11.94 kB / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003361/0.108, allocations: 189.5 kB / 337 MB, free: 11.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.108, allocations: 0 / 337 MB, free: 11.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000406/0.1084, allocations: 91.98 kB / 337.1 MB, free: 10.98 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.0006961/0.1091, allocations: 283.8 kB / 337.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004088/0.1095, allocations: 175.8 kB / 337.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1095, allocations: 0 / 337.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.1097, allocations: 67.89 kB / 337.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.1099, allocations: 27.84 kB / 337.6 MB, free: 10.44 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009134/0.1108, allocations: 392.1 kB / 338 MB, free: 10.03 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1112, allocations: 0.728 MB / 338.7 MB, free: 9.273 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.1113, allocations: 23.42 kB / 338.7 MB, free: 9.25 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1113, allocations: 0 / 338.7 MB, free: 9.25 MB / 286.1 MB Notification: Performance of Templates: time 0.006944/0.1182, allocations: 3.606 MB / 342.4 MB, free: 5.637 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/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