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.0007737/0.0007737, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.001864, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0006945/0.0006945, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009474/0.001642, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8358/0.8358, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1697/1.005, allocations: 49.49 MB / 220.7 MB, free: 1.348 MB / 218.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 / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.479e-05, allocations: 2.312 kB / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002095/0.00211, allocations: 1.717 MB / 223.7 MB, free: 14.31 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.003718, allocations: 1.22 MB / 224.9 MB, free: 13.07 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.003824, allocations: 4 kB / 224.9 MB, free: 13.07 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.004077, allocations: 31.72 kB / 225 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.006e-05/0.004167, allocations: 43.7 kB / 225 MB, free: 13 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.004767, allocations: 294.8 kB / 225.3 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.004945, allocations: 147.6 kB / 225.4 MB, free: 12.56 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.083e-05/0.005016, allocations: 9.922 kB / 225.5 MB, free: 12.55 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.005193, allocations: 135.6 kB / 225.6 MB, free: 12.42 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.005317, allocations: 83.75 kB / 225.7 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.00534, allocations: 12 kB / 225.7 MB, free: 12.33 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.00577, allocations: 339.2 kB / 226 MB, free: 12 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.778e-05/0.005848, allocations: 39.86 kB / 226.1 MB, free: 11.96 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.005894, allocations: 31.88 kB / 226.1 MB, free: 11.93 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.006257, allocations: 295.1 kB / 226.4 MB, free: 11.64 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.263e-05/0.006269, allocations: 0 / 226.4 MB, free: 11.64 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.006271, allocations: 0 / 226.4 MB, free: 11.64 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.00628, allocations: 0 / 226.4 MB, free: 11.64 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.000675/0.006955, allocations: 475.2 kB / 226.8 MB, free: 11.15 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.006983, allocations: 8.031 kB / 226.8 MB, free: 11.14 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.007155, allocations: 110 kB / 227 MB, free: 11.02 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.007382, allocations: 195.1 kB / 227.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.007396, allocations: 12.31 kB / 227.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.007417, allocations: 4.375 kB / 227.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.007523, allocations: 61.05 kB / 227.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.007532, allocations: 4.188 kB / 227.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.007541, allocations: 4.375 kB / 227.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.007563, allocations: 11.92 kB / 227.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.552e-05/0.007609, allocations: 23.91 kB / 227.3 MB, free: 10.67 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.007975, allocations: 245.8 kB / 227.5 MB, free: 10.41 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.008077, allocations: 100.1 kB / 227.6 MB, free: 10.3 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.008103, allocations: 20.83 kB / 227.6 MB, free: 10.28 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.008113, allocations: 4 kB / 227.6 MB, free: 10.27 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.812e-05/0.008211, allocations: 74.23 kB / 227.7 MB, free: 10.19 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.008212, allocations: 0 / 227.7 MB, free: 10.19 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001485/0.008361, allocations: 93.72 kB / 227.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.008396, allocations: 71.33 kB / 227.9 MB, free: 10.01 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.008512, allocations: 199.4 kB / 228.1 MB, free: 9.801 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.008535, allocations: 41.69 kB / 228.1 MB, free: 9.754 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.008576, allocations: 100.1 kB / 228.2 MB, free: 9.652 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.008608, allocations: 39.81 kB / 228.2 MB, free: 9.613 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.008659, allocations: 49.67 kB / 228.3 MB, free: 9.559 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.008738, allocations: 334.8 kB / 228.6 MB, free: 9.223 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.008776, allocations: 26.83 kB / 228.6 MB, free: 9.195 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.376e-05/0.00882, allocations: 45.67 kB / 228.7 MB, free: 9.145 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.761e-05/0.008898, allocations: 79.41 kB / 228.8 MB, free: 9.059 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.0089, allocations: 0 / 228.8 MB, free: 9.059 MB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001307/0.009031, allocations: 120.4 kB / 228.9 MB, free: 8.934 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.009042, allocations: 7.984 kB / 228.9 MB, free: 8.926 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.00905, allocations: 4 kB / 228.9 MB, free: 8.922 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.009061, allocations: 0 / 228.9 MB, free: 8.922 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.009178, allocations: 39.92 kB / 228.9 MB, free: 8.883 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.009183, allocations: 0 / 228.9 MB, free: 8.883 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.009245, allocations: 19.89 kB / 228.9 MB, free: 8.863 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.009255, allocations: 7.984 kB / 228.9 MB, free: 8.855 MB / 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 7.876e-05/0.009334, allocations: 132.6 kB / 229.1 MB, free: 8.715 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.009351, allocations: 11.98 kB / 229.1 MB, free: 8.703 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.009379, allocations: 17.47 kB / 229.1 MB, free: 8.691 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.009382, allocations: 4 kB / 229.1 MB, free: 8.688 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.009384, allocations: 7.922 kB / 229.1 MB, free: 8.68 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.009388, allocations: 3.984 kB / 229.1 MB, free: 8.676 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.715e-05/0.009485, allocations: 109.7 kB / 229.2 MB, free: 8.551 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.009486, allocations: 0 / 229.2 MB, free: 8.551 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.00954, allocations: 12 kB / 229.2 MB, free: 8.539 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.009577, allocations: 27.83 kB / 229.3 MB, free: 8.512 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.009579, allocations: 0 / 229.3 MB, free: 8.512 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.009593, allocations: 4 kB / 229.3 MB, free: 8.508 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.009594, allocations: 4 kB / 229.3 MB, free: 8.504 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009595, allocations: 0 / 229.3 MB, free: 8.504 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.009755, allocations: 144.9 kB / 229.4 MB, free: 8.344 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.009775, allocations: 7.984 kB / 229.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.16e-05/0.009817, allocations: 0 / 229.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.009848, allocations: 11.98 kB / 229.4 MB, free: 8.324 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.009854, allocations: 4 kB / 229.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.421e-05/0.009908, allocations: 59.08 kB / 229.5 MB, free: 8.262 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009908, allocations: 4.031 kB / 229.5 MB, free: 8.258 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.01012, allocations: 95.73 kB / 229.6 MB, free: 8.164 MB / 234.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.0005436/0.01066, allocations: 356.4 kB / 229.9 MB, free: 7.844 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.01079, allocations: 72.75 kB / 230 MB, free: 7.77 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.0108, allocations: 4 kB / 230 MB, free: 7.766 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.665e-05/0.01084, allocations: 36.78 kB / 230.1 MB, free: 7.727 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.01099, allocations: 84.27 kB / 230.1 MB, free: 7.637 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/0.01164, allocations: 323.1 kB / 230.5 MB, free: 7.297 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.01168, allocations: 71.83 kB / 230.5 MB, free: 7.207 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.838e-05/0.01173, allocations: 17.48 kB / 230.5 MB, free: 7.191 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.0118, allocations: 75.36 kB / 230.6 MB, free: 7.117 MB / 234.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0118, allocations: 0 / 230.6 MB, free: 7.117 MB / 234.7 MB Notification: Performance of Templates: time 0.004997/0.0168, allocations: 3.808 MB / 234.4 MB, free: 3.305 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9681032011285424]