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.001291/0.001291, allocations: 107.3 kB / 18.35 MB, free: 4.762 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.0012/0.0012, allocations: 192 kB / 19.29 MB, free: 3.832 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.668/1.668, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001222/0.001222, allocations: 47.94 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1161, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003278/0.1195, allocations: 1.644 MB / 330.4 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.1216, allocations: 1.225 MB / 331.6 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1218, allocations: 0 / 331.6 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.1222, allocations: 35.78 kB / 331.6 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.1224, allocations: 43.7 kB / 331.7 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007678/0.1231, allocations: 291.2 kB / 332 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.1234, allocations: 179.5 kB / 332.1 MB, free: 340 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1235, allocations: 17.08 kB / 332.2 MB, free: 324 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.1237, allocations: 87.67 kB / 332.2 MB, free: 236 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.1239, allocations: 99.64 kB / 332.3 MB, free: 136 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.1239, allocations: 16 kB / 332.3 MB, free: 120 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.1244, allocations: 275.5 kB / 332.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1245, allocations: 59.75 kB / 332.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.1246, allocations: 71.59 kB / 332.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.125, allocations: 339.1 kB / 333.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1251, allocations: 4 kB / 333.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1251, allocations: 0 / 333.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1251, allocations: 0 / 333.1 MB, free: 15.38 MB / 286.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.001213/0.1263, allocations: 0.5571 MB / 333.6 MB, free: 14.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1263, allocations: 11.89 kB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.1266, allocations: 28.73 kB / 333.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.1271, allocations: 276.8 kB / 333.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.1271, allocations: 8.375 kB / 334 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.1272, allocations: 8.312 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1274, allocations: 105.9 kB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.1274, allocations: 15.83 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1275, allocations: 3.984 kB / 334.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1275, allocations: 0 / 334.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.1277, allocations: 79.94 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008828/0.1286, allocations: 444.6 kB / 334.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1289, allocations: 122.5 kB / 334.7 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.129, allocations: 64.83 kB / 334.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.129, allocations: 0 / 334.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.1293, allocations: 111.3 kB / 334.9 MB, free: 13.4 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.1293, allocations: 0 / 334.9 MB, free: 13.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005444/0.1298, allocations: 237.5 kB / 335.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.1299, allocations: 59.41 kB / 335.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.1303, allocations: 251.7 kB / 335.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.1304, allocations: 37.7 kB / 335.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.1304, allocations: 116.2 kB / 335.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.1305, allocations: 43.36 kB / 335.6 MB, free: 12.63 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.1306, allocations: 45.7 kB / 335.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1308, allocations: 334.8 kB / 336 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.1309, allocations: 91.89 kB / 336.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.1311, allocations: 105.7 kB / 336.2 MB, free: 12.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.1314, allocations: 185.7 kB / 336.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1314, allocations: 4 kB / 336.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004255/0.1318, allocations: 257.3 kB / 336.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1319, allocations: 8.031 kB / 336.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1319, allocations: 0 / 336.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1319, allocations: 0 / 336.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.1321, allocations: 35.92 kB / 336.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1321, allocations: 4 kB / 336.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.1323, allocations: 23.81 kB / 336.7 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.1323, allocations: 12 kB / 336.7 MB, free: 11.52 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.0001377/0.1325, allocations: 141.5 kB / 336.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.1325, allocations: 15.81 kB / 336.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.96e-05/0.1326, allocations: 25.52 kB / 336.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1326, allocations: 7.938 kB / 336.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1326, allocations: 0 / 336.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1326, allocations: 0 / 336.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.1329, allocations: 237.6 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1329, allocations: 3.938 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.133, allocations: 15.98 kB / 337.1 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.133, allocations: 0 / 337.1 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.133, allocations: 4 kB / 337.1 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.133, allocations: 11.88 kB / 337.2 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1331, allocations: 4 kB / 337.2 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.1335, allocations: 269.2 kB / 337.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1337, allocations: 108.9 kB / 337.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.1337, allocations: 7.984 kB / 337.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.1339, allocations: 27.92 kB / 337.6 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.134, allocations: 11.97 kB / 337.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.134, allocations: 4 kB / 337.6 MB, free: 10.54 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003264/0.1343, allocations: 189.4 kB / 337.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1343, allocations: 3.938 kB / 337.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004424/0.1348, allocations: 91.98 kB / 337.9 MB, free: 10.27 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.0006614/0.1354, allocations: 277 kB / 338.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003727/0.1358, allocations: 175.8 kB / 338.3 MB, free: 9.824 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1358, allocations: 0 / 338.3 MB, free: 9.824 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.136, allocations: 63.91 kB / 338.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.1362, allocations: 19.98 kB / 338.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007416/0.1369, allocations: 354.4 kB / 338.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1373, allocations: 0.7283 MB / 339.5 MB, free: 8.617 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.575e-05/0.1374, allocations: 33.39 kB / 339.5 MB, free: 8.578 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.1374, allocations: 19.38 kB / 339.5 MB, free: 8.562 MB / 286.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1375, allocations: 0 / 339.5 MB, free: 8.562 MB / 286.1 MB Notification: Performance of Templates: time 0.007111/0.1446, allocations: 3.128 MB / 342.6 MB, free: 5.434 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 -s gbode -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