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.001046/0.001046, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001131/0.001131, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.052/1.052, allocations: 177 MB / 205.9 MB, free: 4.469 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.382e-06/1.382e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.719e-05, allocations: 3.781 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002745/0.002772, allocations: 1.681 MB / 275.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.004671, allocations: 1.213 MB / 277 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.004801, allocations: 0.5938 kB / 277 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.005198, allocations: 36.38 kB / 277.1 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.005326, allocations: 42.17 kB / 277.1 MB, free: 1.301 MB / 250.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.0007491/0.006075, allocations: 326.8 kB / 277.4 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.006277, allocations: 147.6 kB / 277.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.006375, allocations: 17.3 kB / 277.6 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.006594, allocations: 95.77 kB / 277.7 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004161/0.00701, allocations: 89.27 kB / 277.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.007056, allocations: 16 kB / 277.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.007525, allocations: 315.2 kB / 278.1 MB, free: 324 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.007626, allocations: 47.83 kB / 278.1 MB, free: 276 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.094e-05/0.007697, allocations: 51.83 kB / 278.2 MB, free: 224 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006086/0.008305, allocations: 327.1 kB / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.008313, allocations: 0 / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008314, allocations: 0 / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.00832, allocations: 4 kB / 278.5 MB, free: 15.89 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.0009167/0.009236, allocations: 0.5537 MB / 279.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.009288, allocations: 8.031 kB / 279.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.009495, allocations: 32.78 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.009755, allocations: 213.8 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.009773, allocations: 4.375 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.009799, allocations: 12.36 kB / 279.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.009952, allocations: 58.22 kB / 279.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.009964, allocations: 4.125 kB / 279.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.009974, allocations: 384 / 279.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.00998, allocations: 7.938 kB / 279.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.952e-05/0.01003, allocations: 19.97 kB / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.01051, allocations: 360.2 kB / 279.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.01063, allocations: 66.97 kB / 279.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.01066, allocations: 19.67 kB / 279.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.01067, allocations: 4 kB / 279.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.01079, allocations: 84.89 kB / 279.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.01079, allocations: 0 / 279.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002267/0.01102, allocations: 132.9 kB / 280.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.01107, allocations: 55.41 kB / 280.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.01131, allocations: 271.6 kB / 280.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.01134, allocations: 33.7 kB / 280.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.01141, allocations: 170.8 kB / 280.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.01146, allocations: 43.78 kB / 280.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.01153, allocations: 51.33 kB / 280.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.01169, allocations: 0.5079 MB / 281.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.01173, allocations: 19.98 kB / 281.2 MB, free: 13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/0.0118, allocations: 53.08 kB / 281.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.0119, allocations: 80.81 kB / 281.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.01191, allocations: 4 kB / 281.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002259/0.01213, allocations: 153.5 kB / 281.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.01215, allocations: 6.812 kB / 281.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.01216, allocations: 0 / 281.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.01217, allocations: 0 / 281.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.0123, allocations: 39.98 kB / 281.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.01231, allocations: 4 kB / 281.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.01238, allocations: 15.89 kB / 281.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.0124, allocations: 4 kB / 281.6 MB, free: 12.63 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 0.0001297/0.01253, allocations: 180.5 kB / 281.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.01256, allocations: 15.91 kB / 281.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.0126, allocations: 25.45 kB / 281.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.0126, allocations: 4 kB / 281.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01261, allocations: 0 / 281.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01261, allocations: 0 / 281.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.01277, allocations: 141.1 kB / 281.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.01278, allocations: 3.984 kB / 281.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.01285, allocations: 19.92 kB / 281.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.01285, allocations: 3.938 kB / 281.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.01287, allocations: 12 kB / 281.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01287, allocations: 0 / 281.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01287, allocations: 0 / 281.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.01331, allocations: 164.2 kB / 282.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.01336, allocations: 31.78 kB / 282.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.01338, allocations: 7.984 kB / 282.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.647e-05/0.01344, allocations: 8 kB / 282.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.01348, allocations: 11.92 kB / 282.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.01349, allocations: 0 / 282.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.0136, allocations: 188.3 kB / 282.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0136, allocations: 4.031 kB / 282.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003335/0.01393, allocations: 87.8 kB / 282.4 MB, free: 11.68 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.0005241/0.01445, allocations: 281.1 kB / 282.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.01462, allocations: 90.94 kB / 282.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01462, allocations: 0 / 282.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.273e-05/0.01468, allocations: 35.61 kB / 282.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.01486, allocations: 23.92 kB / 282.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.01535, allocations: 311 kB / 283.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.556e-05/0.0154, allocations: 79.81 kB / 283.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.751e-05/0.01545, allocations: 17.48 kB / 283.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/0.01553, allocations: 90.12 kB / 283.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01553, allocations: 0 / 283.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of Templates: time 0.006548/0.02208, allocations: 3.642 MB / 287 MB, free: 7.129 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.5674278624355793]