Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009745/0.0009745, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001662/0.001662, allocations: 161 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.029/1.029, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.349e-05, allocations: 2.312 kB / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00181/0.001823, allocations: 1.694 MB / 274.7 MB, free: 40 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.00333, allocations: 1.211 MB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.003403, allocations: 0 / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.003696, allocations: 39.7 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.824e-05/0.003784, allocations: 35.77 kB / 276 MB, free: 14.74 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0005393/0.004324, allocations: 330.7 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.004487, allocations: 147.6 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.198e-05/0.004569, allocations: 13.31 kB / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.00472, allocations: 95.77 kB / 276.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.005027, allocations: 106.8 kB / 276.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.005055, allocations: 12 kB / 276.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.005365, allocations: 315.2 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.005435, allocations: 51.81 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.005489, allocations: 47.83 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.005836, allocations: 331 kB / 277.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005838, allocations: 0 / 277.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005838, allocations: 3.938 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.005842, allocations: 4 kB / 277.4 MB, free: 13.32 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.0006891/0.006531, allocations: 0.5539 MB / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.006574, allocations: 15.98 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.006763, allocations: 36.78 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.007031, allocations: 213.9 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.007046, allocations: 4.375 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.007071, allocations: 12.36 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.007214, allocations: 73.05 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.007225, allocations: 192 / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.007238, allocations: 384 / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.007249, allocations: 7.938 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.202e-05/0.007331, allocations: 27.97 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.007917, allocations: 399.5 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.008059, allocations: 70.97 kB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.008107, allocations: 23.69 kB / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.008117, allocations: 4 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.008247, allocations: 92.89 kB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.008249, allocations: 0 / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002857/0.008535, allocations: 141.4 kB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.008577, allocations: 63.39 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.008782, allocations: 263.8 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.008809, allocations: 37.7 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.008887, allocations: 162.8 kB / 279.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.008929, allocations: 43.83 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.009, allocations: 55.3 kB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.009137, allocations: 0.504 MB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/0.009205, allocations: 27.98 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.009287, allocations: 59.28 kB / 280.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.009427, allocations: 87.58 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.009431, allocations: 7.938 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002428/0.009673, allocations: 157.3 kB / 280.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.009686, allocations: 8 kB / 280.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.009693, allocations: 3.984 kB / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.009706, allocations: 0 / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.009852, allocations: 31.98 kB / 280.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.00986, allocations: 7.938 kB / 280.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.649e-05/0.009946, allocations: 23.88 kB / 280.6 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.009961, allocations: 4 kB / 280.6 MB, free: 9.918 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 0.0001043/0.01007, allocations: 184.5 kB / 280.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.01009, allocations: 19.89 kB / 280.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.01013, allocations: 17.47 kB / 280.8 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01013, allocations: 0 / 280.8 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.01014, allocations: 0 / 280.8 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01014, allocations: 4 kB / 280.8 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.0103, allocations: 176.5 kB / 281 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.0103, allocations: 0 / 281 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.01037, allocations: 15.94 kB / 281 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01037, allocations: 3.984 kB / 281 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.01039, allocations: 12 kB / 281 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01039, allocations: 0 / 281 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01039, allocations: 0 / 281 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.01067, allocations: 184.2 kB / 281.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.01072, allocations: 39.66 kB / 281.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.01075, allocations: 7.984 kB / 281.2 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.01083, allocations: 11.98 kB / 281.2 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.01087, allocations: 7.984 kB / 281.3 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.01088, allocations: 4 kB / 281.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.01101, allocations: 188.4 kB / 281.4 MB, free: 8.992 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01101, allocations: 4 kB / 281.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.01137, allocations: 91.8 kB / 281.5 MB, free: 8.898 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.0005589/0.01193, allocations: 276 kB / 281.8 MB, free: 8.641 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.01215, allocations: 91.52 kB / 281.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01215, allocations: 0 / 281.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.01221, allocations: 39.61 kB / 281.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01244, allocations: 23.98 kB / 282 MB, free: 8.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.01297, allocations: 319 kB / 282.3 MB, free: 8.141 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.223e-05/0.01302, allocations: 75.83 kB / 282.3 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.002e-05/0.01309, allocations: 25.45 kB / 282.4 MB, free: 8.023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.01314, allocations: 24.5 kB / 282.4 MB, free: 8 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01314, allocations: 0 / 282.4 MB, free: 8 MB / 266.7 MB Notification: Performance of Templates: time 0.009478/0.02262, allocations: 3.252 MB / 285.6 MB, free: 4.773 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5669176848605275]