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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002316/0.002316, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002669/0.002669, allocations: 166 kB / 25.03 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,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=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.344e-05, allocations: 6.25 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.00328/0.003314, allocations: 1.654 MB / 252 MB, free: 6.164 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.005944, allocations: 1.181 MB / 253.2 MB, free: 4.969 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.86e-05/0.006033, allocations: 0 / 253.2 MB, free: 4.969 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.006404, allocations: 43.64 kB / 253.2 MB, free: 4.926 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.006552, allocations: 35.81 kB / 253.3 MB, free: 4.891 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009763/0.007528, allocations: 330.7 kB / 253.6 MB, free: 4.566 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.007807, allocations: 147.6 kB / 253.8 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.007929, allocations: 17.25 kB / 253.8 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.008163, allocations: 95.72 kB / 253.9 MB, free: 4.312 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.008371, allocations: 87.73 kB / 253.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.008417, allocations: 12 kB / 254 MB, free: 4.215 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.009086, allocations: 327.2 kB / 254.3 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.009208, allocations: 51.81 kB / 254.3 MB, free: 3.844 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.762e-05/0.009305, allocations: 47.83 kB / 254.4 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007094/0.01001, allocations: 370.9 kB / 254.7 MB, free: 3.434 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.01002, allocations: 4 kB / 254.7 MB, free: 3.43 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.729e-06/0.01003, allocations: 7.984 kB / 254.7 MB, free: 3.422 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.01004, allocations: 0 / 254.7 MB, free: 3.422 MB / 234.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.001738/0.01178, allocations: 0.5614 MB / 255.3 MB, free: 2.824 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.01183, allocations: 15.98 kB / 255.3 MB, free: 2.809 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/0.01216, allocations: 40.72 kB / 255.4 MB, free: 2.77 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.01259, allocations: 197.3 kB / 255.6 MB, free: 2.547 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.01261, allocations: 8.312 kB / 255.6 MB, free: 2.539 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.01265, allocations: 8.375 kB / 255.6 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.01287, allocations: 78.2 kB / 255.7 MB, free: 2.449 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.01289, allocations: 192 / 255.7 MB, free: 2.449 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.01291, allocations: 384 / 255.7 MB, free: 2.449 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.01292, allocations: 7.938 kB / 255.7 MB, free: 2.441 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.01311, allocations: 43.95 kB / 255.7 MB, free: 2.398 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.01418, allocations: 419.5 kB / 256.1 MB, free: 1.949 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.01444, allocations: 87.03 kB / 256.2 MB, free: 1.852 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.817e-05/0.01454, allocations: 35.67 kB / 256.2 MB, free: 1.812 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.01456, allocations: 4 kB / 256.2 MB, free: 1.809 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.0148, allocations: 96.98 kB / 256.3 MB, free: 1.699 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.0148, allocations: 0 / 256.3 MB, free: 1.699 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005329/0.01533, allocations: 177.6 kB / 256.5 MB, free: 1.52 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.01541, allocations: 59.34 kB / 256.6 MB, free: 1.449 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.01586, allocations: 298.8 kB / 256.9 MB, free: 1.141 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.0159, allocations: 37.64 kB / 256.9 MB, free: 1.098 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.01606, allocations: 170.8 kB / 257.1 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.01613, allocations: 47.83 kB / 257.1 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.01624, allocations: 63.33 kB / 257.2 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003457/0.01659, allocations: 0.5079 MB / 257.7 MB, free: 296 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.01671, allocations: 39.98 kB / 257.7 MB, free: 256 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.01689, allocations: 91.12 kB / 257.8 MB, free: 156 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.01714, allocations: 107.3 kB / 257.9 MB, free: 40 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.01715, allocations: 7.875 kB / 257.9 MB, free: 32 kB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004451/0.01759, allocations: 177.5 kB / 258.1 MB, free: 15.85 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.01762, allocations: 8 kB / 258.1 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.01763, allocations: 0 / 258.1 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.01766, allocations: 0 / 258.1 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.0179, allocations: 43.91 kB / 258.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.01791, allocations: 0 / 258.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.01805, allocations: 27.91 kB / 258.2 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.01807, allocations: 4 kB / 258.2 MB, free: 15.77 MB / 250.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,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.0002052/0.01828, allocations: 180.5 kB / 258.3 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.01832, allocations: 19.91 kB / 258.4 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.449e-05/0.0184, allocations: 25.45 kB / 258.4 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.0184, allocations: 0 / 258.4 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.01841, allocations: 0 / 258.4 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01841, allocations: 0 / 258.4 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.01871, allocations: 184.4 kB / 258.6 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01871, allocations: 8 kB / 258.6 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.01884, allocations: 11.98 kB / 258.6 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.01884, allocations: 4 kB / 258.6 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.01887, allocations: 3.984 kB / 258.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01887, allocations: 3.938 kB / 258.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01887, allocations: 0 / 258.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.01943, allocations: 212.2 kB / 258.8 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.01955, allocations: 39.83 kB / 258.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.01961, allocations: 4 kB / 258.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.01973, allocations: 12.02 kB / 258.9 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.01981, allocations: 11.98 kB / 258.9 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.01983, allocations: 4 kB / 258.9 MB, free: 14.99 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003046/0.02014, allocations: 209.4 kB / 259.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02014, allocations: 0 / 259.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005806/0.02072, allocations: 95.73 kB / 259.2 MB, free: 14.69 MB / 250.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 (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.001067/0.02178, allocations: 305.2 kB / 259.5 MB, free: 14.42 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003546/0.02214, allocations: 115.5 kB / 259.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02214, allocations: 8.062 kB / 259.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.02227, allocations: 51.66 kB / 259.6 MB, free: 14.24 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.02256, allocations: 31.88 kB / 259.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/0.02333, allocations: 318 kB / 260 MB, free: 13.88 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.02346, allocations: 115.4 kB / 260.1 MB, free: 13.75 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.536e-05/0.02356, allocations: 37.44 kB / 260.1 MB, free: 13.71 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.02362, allocations: 16.5 kB / 260.2 MB, free: 13.7 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02362, allocations: 3.938 kB / 260.2 MB, free: 13.69 MB / 250.7 MB Notification: Performance of Templates: time 0.009172/0.03279, allocations: 3.356 MB / 263.5 MB, free: 10.34 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.421957309008576]