Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.0009149/0.0009149, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001552/0.001552, allocations: 174 kB / 24.92 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9825/0.9825, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 3.984 kB / 273.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.839e-06/1.177e-05, allocations: 2.312 kB / 273.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001779/0.001791, allocations: 1.697 MB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.003155, allocations: 1.227 MB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.003216, allocations: 4 kB / 276.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.003461, allocations: 35.72 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.003538, allocations: 39.77 kB / 276.5 MB, free: 14.28 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.004053, allocations: 326.7 kB / 276.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.004201, allocations: 147.6 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.004258, allocations: 9.969 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.0044, allocations: 103.8 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.004688, allocations: 96.09 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.004715, allocations: 12 kB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.005037, allocations: 315.2 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.005098, allocations: 55.8 kB / 277.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.005143, allocations: 47.84 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.005463, allocations: 327 kB / 277.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005464, allocations: 0 / 277.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005465, allocations: 3.938 kB / 277.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.005468, allocations: 4 kB / 277.9 MB, free: 12.87 MB / 266.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.0005153/0.005983, allocations: 431.5 kB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.00601, allocations: 12.03 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.006131, allocations: 28.91 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.006314, allocations: 191.1 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.006325, allocations: 8.375 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.006345, allocations: 8.375 kB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.611e-05/0.006441, allocations: 72.92 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.006449, allocations: 3.938 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.006458, allocations: 3.984 kB / 278.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.006461, allocations: 0 / 278.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.006503, allocations: 19.98 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.006838, allocations: 249.8 kB / 278.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.644e-05/0.006934, allocations: 100.1 kB / 279 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.006959, allocations: 20.84 kB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/0.006966, allocations: 0 / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.022e-05/0.007046, allocations: 82.12 kB / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 8.91e-07/0.007047, allocations: 0 / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001363/0.007184, allocations: 97.81 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.007217, allocations: 55.41 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.007324, allocations: 196.5 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.007344, allocations: 41.69 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.007378, allocations: 100 kB / 279.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.007407, allocations: 43.81 kB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.007453, allocations: 45.67 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.007519, allocations: 326.8 kB / 280 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.00756, allocations: 26.81 kB / 280 MB, free: 10.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-05/0.007601, allocations: 45.62 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.952e-05/0.00768, allocations: 80.06 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.007682, allocations: 3.938 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001226/0.007805, allocations: 128.3 kB / 280.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.007814, allocations: 4 kB / 280.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.00782, allocations: 4 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.007828, allocations: 0 / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.007927, allocations: 35.98 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.007931, allocations: 3.984 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.007987, allocations: 19.84 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.007998, allocations: 4 kB / 280.3 MB, free: 10.24 MB / 266.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.079e-05/0.008068, allocations: 136.6 kB / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.008085, allocations: 11.98 kB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.008111, allocations: 25.45 kB / 280.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.008113, allocations: 0 / 280.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.008115, allocations: 4 kB / 280.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.008118, allocations: 0 / 280.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.13e-05/0.008209, allocations: 101.8 kB / 280.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.00821, allocations: 0 / 280.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.008259, allocations: 11.98 kB / 280.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.008261, allocations: 7.938 kB / 280.6 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.008271, allocations: 8 kB / 280.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.008274, allocations: 4 kB / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008275, allocations: 0 / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.008413, allocations: 133.9 kB / 280.7 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.008451, allocations: 31.78 kB / 280.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.008469, allocations: 4 kB / 280.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/0.008512, allocations: 4 kB / 280.8 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.008536, allocations: 11.92 kB / 280.8 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.008543, allocations: 7.984 kB / 280.8 MB, free: 9.703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.013e-05/0.008593, allocations: 58 kB / 280.9 MB, free: 9.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008593, allocations: 4.031 kB / 280.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.008785, allocations: 91.78 kB / 281 MB, free: 9.551 MB / 266.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.0004105/0.009196, allocations: 290.4 kB / 281.2 MB, free: 9.305 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.009312, allocations: 75.77 kB / 281.3 MB, free: 9.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.009315, allocations: 4 kB / 281.3 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.009354, allocations: 32.78 kB / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.009463, allocations: 30.88 kB / 281.4 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.009822, allocations: 316.1 kB / 281.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.28e-05/0.009855, allocations: 75.83 kB / 281.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.397e-05/0.009899, allocations: 17.47 kB / 281.8 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.009968, allocations: 75.36 kB / 281.9 MB, free: 8.641 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009969, allocations: 0 / 281.9 MB, free: 8.641 MB / 266.7 MB Notification: Performance of Templates: time 0.004699/0.01467, allocations: 3.551 MB / 285.4 MB, free: 5.121 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/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.7689982503652573]