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.001344/0.001344, allocations: 84.98 kB / 23 MB, free: 1.496 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.001431/0.001431, allocations: 175.6 kB / 26.39 MB, free: 7.984 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.055/1.055, allocations: 158.6 MB / 188.3 MB, free: 2.777 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.804e-06/1.804e-06, allocations: 0 / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.284e-05, allocations: 6.25 kB / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002618/0.002641, allocations: 1.666 MB / 253.9 MB, free: 5.559 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.004304, allocations: 1.193 MB / 255.1 MB, free: 4.352 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.004434, allocations: 0 / 255.1 MB, free: 4.352 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.004822, allocations: 31.72 kB / 255.1 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.004934, allocations: 43.7 kB / 255.2 MB, free: 4.277 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007287/0.005663, allocations: 326.8 kB / 255.5 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.005837, allocations: 147.6 kB / 255.7 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.102e-05/0.005928, allocations: 17.3 kB / 255.7 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.006082, allocations: 99.7 kB / 255.8 MB, free: 3.699 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.006215, allocations: 79.81 kB / 255.8 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.006244, allocations: 16 kB / 255.9 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.006649, allocations: 315.2 kB / 256.2 MB, free: 3.297 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.524e-05/0.006735, allocations: 55.81 kB / 256.2 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.006792, allocations: 47.83 kB / 256.3 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.007161, allocations: 346.9 kB / 256.6 MB, free: 2.855 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.007165, allocations: 0 / 256.6 MB, free: 2.855 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007166, allocations: 0 / 256.6 MB, free: 2.855 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.00717, allocations: 4 kB / 256.6 MB, free: 2.852 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.0007093/0.00788, allocations: 0.5538 MB / 257.2 MB, free: 2.262 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.007917, allocations: 15.92 kB / 257.2 MB, free: 2.246 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.00808, allocations: 28.83 kB / 257.2 MB, free: 2.219 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.008366, allocations: 202 kB / 257.4 MB, free: 1.988 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.008385, allocations: 8.375 kB / 257.4 MB, free: 1.98 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.008412, allocations: 8.375 kB / 257.4 MB, free: 1.973 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.008546, allocations: 58.22 kB / 257.5 MB, free: 1.91 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.008561, allocations: 4.172 kB / 257.5 MB, free: 1.906 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.008574, allocations: 4.375 kB / 257.5 MB, free: 1.902 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.008583, allocations: 7.938 kB / 257.5 MB, free: 1.895 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.551e-05/0.008639, allocations: 23.91 kB / 257.5 MB, free: 1.871 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.009115, allocations: 356.2 kB / 257.9 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.00922, allocations: 62.97 kB / 257.9 MB, free: 1.418 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.009258, allocations: 23.67 kB / 258 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.009268, allocations: 4 kB / 258 MB, free: 1.387 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.00938, allocations: 80.91 kB / 258 MB, free: 1.293 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.009381, allocations: 0 / 258 MB, free: 1.293 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002024/0.009583, allocations: 133.7 kB / 258.2 MB, free: 1.156 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.009619, allocations: 63.41 kB / 258.2 MB, free: 1.082 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.009761, allocations: 262.7 kB / 258.5 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.009781, allocations: 33.7 kB / 258.5 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.009848, allocations: 166.8 kB / 258.7 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.009884, allocations: 47.75 kB / 258.7 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.009942, allocations: 55.33 kB / 258.8 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.0101, allocations: 0.504 MB / 259.3 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/0.01014, allocations: 23.84 kB / 259.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-05/0.01019, allocations: 51.33 kB / 259.4 MB, free: 15.89 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.327e-05/0.01028, allocations: 79.44 kB / 259.4 MB, free: 15.81 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01029, allocations: 4 kB / 259.4 MB, free: 15.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001574/0.01044, allocations: 153.3 kB / 259.6 MB, free: 15.65 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.01045, allocations: 4 kB / 259.6 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01045, allocations: 4 kB / 259.6 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.01046, allocations: 0 / 259.6 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.01057, allocations: 35.97 kB / 259.6 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.01057, allocations: 0 / 259.6 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.01063, allocations: 15.95 kB / 259.7 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01064, allocations: 3.984 kB / 259.7 MB, free: 15.59 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,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 8.458e-05/0.01073, allocations: 184.4 kB / 259.8 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.01075, allocations: 23.84 kB / 259.9 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.01078, allocations: 21.45 kB / 259.9 MB, free: 15.35 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01078, allocations: 0 / 259.9 MB, free: 15.35 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01079, allocations: 0 / 259.9 MB, free: 15.35 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01079, allocations: 0 / 259.9 MB, free: 15.35 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.01091, allocations: 149.1 kB / 260 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01091, allocations: 0 / 260 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.01096, allocations: 15.98 kB / 260 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.01096, allocations: 0 / 260 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.01097, allocations: 7.938 kB / 260 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01097, allocations: 0 / 260 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01097, allocations: 0 / 260 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.01117, allocations: 172.2 kB / 260.2 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.01121, allocations: 31.78 kB / 260.2 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.01124, allocations: 11.98 kB / 260.3 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.711e-05/0.01128, allocations: 0 / 260.3 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.01132, allocations: 7.984 kB / 260.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.01133, allocations: 11.94 kB / 260.3 MB, free: 14.9 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.612e-05/0.01142, allocations: 177.4 kB / 260.5 MB, free: 14.73 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01142, allocations: 4.031 kB / 260.5 MB, free: 14.72 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.0117, allocations: 91.8 kB / 260.5 MB, free: 14.63 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.0005873/0.01228, allocations: 306.1 kB / 260.8 MB, free: 14.36 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.01244, allocations: 83.5 kB / 260.9 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01244, allocations: 0 / 260.9 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.01249, allocations: 43.59 kB / 261 MB, free: 14.23 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.01267, allocations: 27.92 kB / 261 MB, free: 14.2 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.01308, allocations: 310.1 kB / 261.3 MB, free: 13.87 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.971e-05/0.01313, allocations: 75.83 kB / 261.4 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.01318, allocations: 17.47 kB / 261.4 MB, free: 13.76 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.01326, allocations: 86.2 kB / 261.5 MB, free: 13.68 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01326, allocations: 0 / 261.5 MB, free: 13.68 MB / 250.7 MB Notification: Performance of Templates: time 0.006196/0.01945, allocations: 3.79 MB / 265.3 MB, free: 9.895 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: 3.5834843800403178]