Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001166, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007659/0.0007659, allocations: 95.55 kB / 297.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002304/0.0002304, allocations: 4 kB / 358.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.217, allocations: 51.29 MB / 409.4 MB, free: 27.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3178, allocations: 80.06 MB / 489.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.3181, allocations: 79.95 kB / 489.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02004/0.3382, allocations: 6.487 MB / 496 MB, free: 4.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3382, allocations: 0 / 496 MB, free: 4.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.3382, allocations: 4 kB / 496 MB, free: 4.926 MB / 362.7 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.001138/0.3394, allocations: 0.5419 MB / 496.5 MB, free: 4.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3394, allocations: 12.03 kB / 496.6 MB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.3397, allocations: 28.64 kB / 496.6 MB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.3402, allocations: 280.8 kB / 496.9 MB, free: 3.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.3402, allocations: 8.375 kB / 496.9 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.3402, allocations: 8.375 kB / 496.9 MB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.3405, allocations: 106.1 kB / 497 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3405, allocations: 192 / 497 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3405, allocations: 3.938 kB / 497 MB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3405, allocations: 0 / 497 MB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.3407, allocations: 87.94 kB / 497.1 MB, free: 3.762 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007703/0.3415, allocations: 444.5 kB / 497.5 MB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.3418, allocations: 134.4 kB / 497.6 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.3419, allocations: 56.83 kB / 497.7 MB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.3419, allocations: 0 / 497.7 MB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.3421, allocations: 119.3 kB / 497.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3422, allocations: 0 / 497.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004985/0.3427, allocations: 237.6 kB / 498 MB, free: 2.711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.3427, allocations: 63.39 kB / 498.1 MB, free: 2.637 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.3431, allocations: 247.8 kB / 498.3 MB, free: 2.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.3432, allocations: 33.7 kB / 498.4 MB, free: 2.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.3433, allocations: 120 kB / 498.5 MB, free: 2.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/0.3433, allocations: 47.58 kB / 498.5 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.3434, allocations: 4 kB / 498.5 MB, free: 2.176 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3435, allocations: 326.8 kB / 498.9 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.3437, allocations: 83.94 kB / 498.9 MB, free: 1.766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.3438, allocations: 115.2 kB / 499.1 MB, free: 1.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.3441, allocations: 173.5 kB / 499.2 MB, free: 1.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3442, allocations: 0 / 499.2 MB, free: 1.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004416/0.3446, allocations: 253.2 kB / 499.5 MB, free: 1.219 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3446, allocations: 4 kB / 499.5 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.3447, allocations: 4 kB / 499.5 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3447, allocations: 0 / 499.5 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3449, allocations: 35.97 kB / 499.5 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.3449, allocations: 3.938 kB / 499.5 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.3451, allocations: 23.83 kB / 499.5 MB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.3451, allocations: 15.98 kB / 499.6 MB, free: 1.133 MB / 362.7 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,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.3452, allocations: 146 kB / 499.7 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.3453, allocations: 15.72 kB / 499.7 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.3453, allocations: 29.52 kB / 499.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3453, allocations: 0 / 499.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3454, allocations: 7.938 kB / 499.7 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3454, allocations: 3.984 kB / 499.8 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.3456, allocations: 237.5 kB / 500 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3456, allocations: 0 / 500 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.3458, allocations: 19.94 kB / 0.4883 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3458, allocations: 3.984 kB / 0.4883 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.3458, allocations: 8 kB / 0.4883 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3458, allocations: 3.938 kB / 0.4883 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.3458, allocations: 3.938 kB / 0.4883 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.3463, allocations: 284.9 kB / 0.4886 GB, free: 316 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.093e-05/0.3464, allocations: 108.8 kB / 0.4887 GB, free: 188 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.3464, allocations: 11.98 kB / 0.4887 GB, free: 176 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3466, allocations: 15.98 kB / 0.4887 GB, free: 160 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.3467, allocations: 11.92 kB / 0.4887 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.3467, allocations: 7.984 kB / 0.4887 GB, free: 140 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003152/0.347, allocations: 189.5 kB / 0.4889 GB, free: 15.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3471, allocations: 3.938 kB / 0.4889 GB, free: 15.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005178/0.3476, allocations: 111.9 kB / 0.489 GB, free: 15.84 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008426/0.3484, allocations: 325.9 kB / 0.4893 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003818/0.3488, allocations: 200.7 kB / 0.4895 GB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3488, allocations: 4.062 kB / 0.4895 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.349, allocations: 67.91 kB / 0.4896 GB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.3492, allocations: 18.22 kB / 0.4896 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006846/0.3499, allocations: 386.7 kB / 0.49 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.3503, allocations: 0.7244 MB / 0.4907 GB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.3504, allocations: 33.41 kB / 0.4907 GB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.3504, allocations: 19.42 kB / 0.4907 GB, free: 14.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3505, allocations: 0 / 0.4907 GB, free: 14.05 MB / 378.7 MB Notification: Performance of Templates: time 0.006938/0.3574, allocations: 3.187 MB / 0.4938 GB, free: 10.88 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches