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.0009251/0.0009251, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.0009606/0.0009606, allocations: 165.3 kB / 25.7 MB, free: 8.328 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 0.8617/0.8617, allocations: 158.6 MB / 187.6 MB, free: 2.352 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.581e-05, allocations: 6.25 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.001847/0.001862, allocations: 1.681 MB / 253.2 MB, free: 5.547 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.003324, allocations: 1.204 MB / 254.4 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.003388, allocations: 0 / 254.4 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.003645, allocations: 31.72 kB / 254.4 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/0.003729, allocations: 47.7 kB / 254.5 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.004221, allocations: 326.8 kB / 254.8 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.004382, allocations: 151.6 kB / 255 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.00445, allocations: 21.88 kB / 255 MB, free: 3.762 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.004574, allocations: 91.72 kB / 255.1 MB, free: 3.672 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.004692, allocations: 83.81 kB / 255.2 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.004715, allocations: 12 kB / 255.2 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.005034, allocations: 319.2 kB / 255.5 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.005101, allocations: 59.81 kB / 255.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.005145, allocations: 43.84 kB / 255.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.005458, allocations: 346.9 kB / 255.9 MB, free: 2.824 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.00546, allocations: 0 / 255.9 MB, free: 2.824 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00546, allocations: 0 / 255.9 MB, free: 2.824 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.005463, allocations: 0 / 255.9 MB, free: 2.824 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.0005185/0.005982, allocations: 427.5 kB / 256.3 MB, free: 2.383 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.006012, allocations: 19.97 kB / 256.4 MB, free: 2.363 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.006136, allocations: 28.86 kB / 256.4 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.006331, allocations: 195.1 kB / 256.6 MB, free: 2.113 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.006341, allocations: 384 / 256.6 MB, free: 2.113 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.006363, allocations: 12.38 kB / 256.6 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.613e-05/0.006459, allocations: 61.05 kB / 256.6 MB, free: 2.035 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.006465, allocations: 192 / 256.6 MB, free: 2.035 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.006473, allocations: 384 / 256.6 MB, free: 2.035 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.006479, allocations: 11.94 kB / 256.7 MB, free: 2.023 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.006523, allocations: 27.77 kB / 256.7 MB, free: 2 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.006851, allocations: 253.6 kB / 256.9 MB, free: 1.734 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.873e-05/0.00695, allocations: 108.1 kB / 257 MB, free: 1.617 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.006975, allocations: 16.84 kB / 257.1 MB, free: 1.598 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.006982, allocations: 0 / 257.1 MB, free: 1.598 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.045e-05/0.007062, allocations: 82.23 kB / 257.1 MB, free: 1.504 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.007064, allocations: 0 / 257.1 MB, free: 1.504 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001416/0.007205, allocations: 89.59 kB / 257.2 MB, free: 1.41 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.007239, allocations: 55.53 kB / 257.3 MB, free: 1.344 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.007353, allocations: 203.5 kB / 257.5 MB, free: 1.129 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.007374, allocations: 45.62 kB / 257.5 MB, free: 1.078 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.007411, allocations: 104.1 kB / 257.6 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.007442, allocations: 43.8 kB / 257.7 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.543e-05/0.007487, allocations: 41.69 kB / 257.7 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.007561, allocations: 330.8 kB / 258 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.007599, allocations: 34.67 kB / 258.1 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.00764, allocations: 41.62 kB / 258.1 MB, free: 480 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/0.00772, allocations: 83.31 kB / 258.2 MB, free: 388 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007721, allocations: 0 / 258.2 MB, free: 388 kB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001196/0.007841, allocations: 120.3 kB / 258.3 MB, free: 260 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.00785, allocations: 8 kB / 258.3 MB, free: 252 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.007855, allocations: 0 / 258.3 MB, free: 252 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.007864, allocations: 0 / 258.3 MB, free: 252 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.3e-05/0.007957, allocations: 39.91 kB / 258.3 MB, free: 212 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.007961, allocations: 8.031 kB / 258.4 MB, free: 204 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.008018, allocations: 23.78 kB / 258.4 MB, free: 180 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.008028, allocations: 4 kB / 258.4 MB, free: 176 kB / 234.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,whiteNoise.localSeed,globalSeed.seed,whiteNoise.actualGlobalSeed,globalSeed.id_impure,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 6.987e-05/0.008098, allocations: 124.6 kB / 258.5 MB, free: 40 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.008115, allocations: 15.98 kB / 258.5 MB, free: 24 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.008158, allocations: 25.47 kB / 258.5 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.00816, allocations: 0 / 258.5 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.008161, allocations: 0 / 258.5 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.008164, allocations: 0 / 258.5 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.147e-05/0.008256, allocations: 113.7 kB / 258.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008256, allocations: 0 / 258.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.008308, allocations: 15.98 kB / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.00831, allocations: 3.938 kB / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.008318, allocations: 0 / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.008319, allocations: 4 kB / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.00832, allocations: 0 / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.00846, allocations: 130.5 kB / 258.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.008495, allocations: 27.78 kB / 258.8 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.008515, allocations: 8 kB / 258.8 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.444e-05/0.008559, allocations: 12.03 kB / 258.9 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.008586, allocations: 7.984 kB / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.008592, allocations: 3.984 kB / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.092e-05/0.008643, allocations: 63.09 kB / 258.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008643, allocations: 0 / 258.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000178/0.008821, allocations: 91.73 kB / 259 MB, free: 15.49 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.000458/0.009279, allocations: 319.8 kB / 259.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.009393, allocations: 76.75 kB / 259.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.009395, allocations: 64 / 259.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.009434, allocations: 36.78 kB / 259.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.009547, allocations: 26.75 kB / 259.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.009912, allocations: 311.2 kB / 259.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.009946, allocations: 79.75 kB / 259.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.623e-05/0.009992, allocations: 17.48 kB / 259.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.01006, allocations: 75.36 kB / 259.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01006, allocations: 0 / 259.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of Templates: time 0.004678/0.01474, allocations: 3.683 MB / 263.6 MB, free: 10.88 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8414240260608494]