Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 114.9 kB / 17.74 MB, free: 5.336 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.001225/0.001225, allocations: 188.4 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009443/0.0009443, allocations: 47.91 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2597, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002684/0.2624, allocations: 1.655 MB / 403.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.2643, allocations: 1.191 MB / 404.3 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.2644, allocations: 4 kB / 404.3 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.2648, allocations: 39.77 kB / 404.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.2649, allocations: 35.78 kB / 404.3 MB, free: 5.93 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.2656, allocations: 287.1 kB / 404.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.2658, allocations: 179.5 kB / 404.8 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.566e-05/0.2659, allocations: 13.11 kB / 404.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.266, allocations: 83.72 kB / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.2666, allocations: 115 kB / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.2667, allocations: 16 kB / 405 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004018/0.2671, allocations: 267.5 kB / 405.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.2672, allocations: 51.83 kB / 405.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.494e-05/0.2673, allocations: 71.58 kB / 405.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000451/0.2677, allocations: 324.6 kB / 405.7 MB, free: 4.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2677, allocations: 3.984 kB / 405.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.2677, allocations: 0 / 405.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2678, allocations: 0 / 405.7 MB, free: 4.551 MB / 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.001113/0.2689, allocations: 0.5529 MB / 406.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2689, allocations: 15.89 kB / 406.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.2691, allocations: 24.73 kB / 406.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.2696, allocations: 284.6 kB / 406.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.2696, allocations: 7.938 kB / 406.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.2697, allocations: 11.94 kB / 406.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.2699, allocations: 101.6 kB / 406.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2699, allocations: 3.984 kB / 406.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2699, allocations: 0 / 406.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2699, allocations: 0 / 406.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.2701, allocations: 75.94 kB / 406.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007729/0.2709, allocations: 452.5 kB / 407.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.2711, allocations: 122.5 kB / 407.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.878e-05/0.2713, allocations: 60.83 kB / 407.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2713, allocations: 0 / 407.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.2715, allocations: 119.4 kB / 407.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.2715, allocations: 0 / 407.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004473/0.2719, allocations: 225.4 kB / 407.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.272, allocations: 63.34 kB / 407.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.2724, allocations: 248.7 kB / 408 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.2724, allocations: 37.69 kB / 408.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.2725, allocations: 120.1 kB / 408.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.2725, allocations: 43.59 kB / 408.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.2726, allocations: 45.64 kB / 408.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2727, allocations: 330.8 kB / 408.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.2729, allocations: 88.05 kB / 408.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.273, allocations: 113.5 kB / 408.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.2733, allocations: 177.8 kB / 409 MB, free: 1.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2733, allocations: 0 / 409 MB, free: 1.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003827/0.2737, allocations: 261.1 kB / 409.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2737, allocations: 12.03 kB / 409.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2737, allocations: 0 / 409.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2738, allocations: 0 / 409.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.2739, allocations: 27.98 kB / 409.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.274, allocations: 3.938 kB / 409.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.2741, allocations: 35.81 kB / 409.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.2742, allocations: 4 kB / 409.3 MB, free: 0.7109 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.000122/0.2743, allocations: 141.8 kB / 409.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.2743, allocations: 19.75 kB / 409.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.2744, allocations: 21.52 kB / 409.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2744, allocations: 0 / 409.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2744, allocations: 4 kB / 409.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2744, allocations: 0 / 409.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.2746, allocations: 245.6 kB / 409.7 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2746, allocations: 3.938 kB / 409.7 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.2748, allocations: 19.92 kB / 409.8 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.2748, allocations: 7.984 kB / 409.8 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2748, allocations: 4 kB / 409.8 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2748, allocations: 0 / 409.8 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2748, allocations: 0 / 409.8 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.2753, allocations: 276.7 kB / 410 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/0.2754, allocations: 108.8 kB / 410.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.2754, allocations: 8 kB / 410.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.2756, allocations: 27.97 kB / 410.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.2757, allocations: 7.984 kB / 410.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2757, allocations: 8 kB / 410.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002834/0.276, allocations: 184.4 kB / 410.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.276, allocations: 0 / 410.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.2763, allocations: 83.98 kB / 410.5 MB, free: 15.46 MB / 334.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.0005441/0.2769, allocations: 259.6 kB / 410.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.2772, allocations: 171.8 kB / 410.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2772, allocations: 4.062 kB / 410.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2774, allocations: 71.91 kB / 411 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.2776, allocations: 28.05 kB / 411 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.2783, allocations: 376.1 kB / 411.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.2786, allocations: 0.7357 MB / 412.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.2786, allocations: 15.44 kB / 412.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of SimCode: time 1.91e-07/0.2786, allocations: 0 / 412.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of Templates: time 0.00536/0.284, allocations: 3.496 MB / 415.6 MB, free: 10.28 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches