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.001004/0.001004, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00127/0.00127, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9922/0.9922, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.002e-06/1.002e-06, allocations: 0 / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.708e-05, allocations: 5.688 kB / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002811/0.002828, allocations: 1.696 MB / 274.8 MB, free: 144 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.004651, allocations: 1.208 MB / 276 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.004715, allocations: 7.938 kB / 276 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.004918, allocations: 35.72 kB / 276 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.576e-05/0.004994, allocations: 43.7 kB / 276.1 MB, free: 14.84 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.000445/0.005439, allocations: 318.8 kB / 276.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.005582, allocations: 147.6 kB / 276.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.005636, allocations: 13.3 kB / 276.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.005764, allocations: 99.66 kB / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.006119, allocations: 109.8 kB / 276.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.006148, allocations: 16 kB / 276.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.006455, allocations: 311.2 kB / 277 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.006514, allocations: 51.81 kB / 277.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.006562, allocations: 51.83 kB / 277.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.00689, allocations: 327 kB / 277.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.006892, allocations: 0 / 277.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006892, allocations: 0 / 277.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.257e-06/0.006896, allocations: 0 / 277.5 MB, free: 13.43 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.0005498/0.007445, allocations: 0.5656 MB / 278 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.196e-05/0.007467, allocations: 8.031 kB / 278 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.007606, allocations: 36.8 kB / 278.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.007819, allocations: 213.8 kB / 278.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.007831, allocations: 8.375 kB / 278.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.007849, allocations: 8.375 kB / 278.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.00795, allocations: 66.22 kB / 278.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.007958, allocations: 7.938 kB / 278.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.007966, allocations: 0 / 278.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.00797, allocations: 0 / 278.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.00803, allocations: 27.97 kB / 278.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.008449, allocations: 395.5 kB / 278.8 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.00856, allocations: 78.97 kB / 278.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.0086, allocations: 31.66 kB / 278.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.008606, allocations: 0 / 278.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.07e-05/0.008697, allocations: 81.06 kB / 279 MB, free: 11.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 8.72e-07/0.008698, allocations: 4 kB / 279 MB, free: 11.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002176/0.008915, allocations: 141.6 kB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.008946, allocations: 67.28 kB / 279.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.009104, allocations: 259.8 kB / 279.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.009123, allocations: 33.7 kB / 279.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.00919, allocations: 170.8 kB / 279.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.009221, allocations: 43.83 kB / 279.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.009275, allocations: 55.34 kB / 279.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.009393, allocations: 0.5001 MB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.009449, allocations: 27.98 kB / 280.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.009519, allocations: 63.34 kB / 280.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.00963, allocations: 88.11 kB / 280.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.009632, allocations: 3.938 kB / 280.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001901/0.009822, allocations: 161.5 kB / 280.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.088e-06/0.009831, allocations: 4 kB / 280.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.009835, allocations: 4.031 kB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.009842, allocations: 4 kB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.009951, allocations: 35.92 kB / 280.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.009955, allocations: 0 / 280.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.464e-05/0.01004, allocations: 27.81 kB / 280.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.01005, allocations: 4 kB / 280.6 MB, free: 10.02 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,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 9.766e-05/0.01015, allocations: 176.5 kB / 280.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.01017, allocations: 19.91 kB / 280.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.0102, allocations: 25.45 kB / 280.9 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.0102, allocations: 4 kB / 280.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.0102, allocations: 0 / 280.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01021, allocations: 3.938 kB / 280.9 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.01034, allocations: 168.5 kB / 281 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01034, allocations: 4 kB / 281 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.0104, allocations: 15.98 kB / 281.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.0104, allocations: 4 kB / 281.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.01041, allocations: 0 / 281.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.01041, allocations: 0 / 281.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.01041, allocations: 0 / 281.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.01062, allocations: 188.2 kB / 281.2 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.01068, allocations: 39.77 kB / 281.3 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.0107, allocations: 4 kB / 281.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.18e-05/0.01076, allocations: 11.98 kB / 281.3 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.01078, allocations: 11.98 kB / 281.3 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.01079, allocations: 0 / 281.3 MB, free: 9.293 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.934e-05/0.01089, allocations: 192.4 kB / 281.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01089, allocations: 0 / 281.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000205/0.0111, allocations: 91.73 kB / 281.6 MB, free: 9.016 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.0004026/0.0115, allocations: 295.2 kB / 281.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.01165, allocations: 98.95 kB / 282 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.11e-07/0.01165, allocations: 0 / 282 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.325e-05/0.0117, allocations: 35.67 kB / 282 MB, free: 8.617 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.01185, allocations: 20.17 kB / 282 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.01227, allocations: 318.8 kB / 282.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.82e-05/0.01232, allocations: 87.69 kB / 282.4 MB, free: 8.152 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.743e-05/0.01237, allocations: 29.52 kB / 282.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.01241, allocations: 16.5 kB / 282.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01241, allocations: 0 / 282.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of Templates: time 0.004943/0.01736, allocations: 3.249 MB / 285.7 MB, free: 4.883 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: 3.4723437859211117]