Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 202.8 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 226.5 MB / 245.4 MB, free: 6.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007739/0.0007739, allocations: 101.6 kB / 297.4 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002056/0.0002057, allocations: 8 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1784, allocations: 51.3 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08073/0.2592, allocations: 80.05 MB / 488.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.2594, allocations: 79.95 kB / 488.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0181/0.2776, allocations: 6.481 MB / 495.3 MB, free: 4.969 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2776, allocations: 0 / 495.3 MB, free: 4.969 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.2776, allocations: 0 / 495.3 MB, free: 4.969 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.0008528/0.2785, allocations: 0.542 MB / 495.8 MB, free: 4.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.2785, allocations: 12.03 kB / 495.8 MB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.2787, allocations: 28.64 kB / 495.9 MB, free: 4.336 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.2791, allocations: 284.7 kB / 496.1 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.2792, allocations: 12.36 kB / 496.2 MB, free: 4.004 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.2792, allocations: 8.375 kB / 496.2 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.2794, allocations: 102.2 kB / 496.3 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2794, allocations: 192 / 496.3 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.2794, allocations: 3.938 kB / 496.3 MB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2794, allocations: 0 / 496.3 MB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.2796, allocations: 91.88 kB / 496.4 MB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.2803, allocations: 440.5 kB / 496.8 MB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.2805, allocations: 134.4 kB / 496.9 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2806, allocations: 56.83 kB / 497 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.2807, allocations: 0 / 497 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.2808, allocations: 119.4 kB / 497.1 MB, free: 2.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.2809, allocations: 4 kB / 497.1 MB, free: 2.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004406/0.2813, allocations: 241.5 kB / 497.3 MB, free: 2.742 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.2814, allocations: 59.39 kB / 497.4 MB, free: 2.672 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.2817, allocations: 243.8 kB / 497.6 MB, free: 2.426 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.2817, allocations: 37.7 kB / 497.7 MB, free: 2.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.2818, allocations: 124 kB / 497.8 MB, free: 2.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.2819, allocations: 39.59 kB / 497.8 MB, free: 2.219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.2819, allocations: 7.984 kB / 497.8 MB, free: 2.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.282, allocations: 326.8 kB / 498.1 MB, free: 1.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.2821, allocations: 79.95 kB / 498.2 MB, free: 1.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.2823, allocations: 109.7 kB / 498.3 MB, free: 1.691 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.2826, allocations: 171 kB / 498.5 MB, free: 1.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2826, allocations: 3.938 kB / 498.5 MB, free: 1.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004417/0.283, allocations: 253.4 kB / 498.8 MB, free: 1.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2831, allocations: 4.031 kB / 498.8 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2831, allocations: 8 kB / 498.8 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2831, allocations: 0 / 498.8 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.2833, allocations: 31.92 kB / 498.8 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.2833, allocations: 7.922 kB / 498.8 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.2835, allocations: 27.83 kB / 498.8 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.2835, allocations: 8 kB / 498.8 MB, free: 1.176 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.0001091/0.2836, allocations: 157.7 kB / 499 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.2836, allocations: 15.72 kB / 499 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.2837, allocations: 21.53 kB / 499 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2837, allocations: 4 kB / 499 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2837, allocations: 3.938 kB / 499 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2837, allocations: 0 / 499 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.2839, allocations: 241.5 kB / 499.3 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2839, allocations: 0 / 499.3 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.284, allocations: 19.92 kB / 499.3 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2841, allocations: 4 kB / 499.3 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.2841, allocations: 7.984 kB / 499.3 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2841, allocations: 0 / 499.3 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2841, allocations: 3.938 kB / 499.3 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.2845, allocations: 280.8 kB / 499.6 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.2846, allocations: 116.8 kB / 499.7 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.2847, allocations: 16.05 kB / 499.7 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.2848, allocations: 15.98 kB / 499.7 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.2849, allocations: 11.92 kB / 499.7 MB, free: 184 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.2849, allocations: 11.98 kB / 499.7 MB, free: 172 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002849/0.2852, allocations: 181.5 kB / 499.9 MB, free: 15.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2852, allocations: 0 / 499.9 MB, free: 15.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.2856, allocations: 115.9 kB / 0.4883 GB, free: 15.88 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.0006531/0.2863, allocations: 319.6 kB / 0.4886 GB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.2866, allocations: 204.5 kB / 0.4888 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2866, allocations: 0 / 0.4888 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2868, allocations: 71.91 kB / 0.4889 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.287, allocations: 18.41 kB / 0.4889 GB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.2876, allocations: 420.3 kB / 0.4893 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.2878, allocations: 0.7244 MB / 0.49 GB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.2879, allocations: 19.44 kB / 0.49 GB, free: 14.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2879, allocations: 4 kB / 0.49 GB, free: 14.09 MB / 378.7 MB Notification: Performance of Templates: time 0.005151/0.293, allocations: 3.772 MB / 0.4937 GB, free: 10.32 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches