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.001838/0.001838, allocations: 83.16 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002437/0.002437, allocations: 157.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.478/1.478, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|Hw.x_scaled.2.",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.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.992e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003196/0.003226, allocations: 1.646 MB / 326.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.005673, allocations: 1.192 MB / 327.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.00579, allocations: 6 kB / 327.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.006149, allocations: 42.38 kB / 327.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.006294, allocations: 42.64 kB / 327.9 MB, free: 14.55 MB / 302.1 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.0009793/0.007274, allocations: 314 kB / 328.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.007547, allocations: 153.6 kB / 328.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.007654, allocations: 13 kB / 328.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.007916, allocations: 100.5 kB / 328.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000684/0.0086, allocations: 97.66 kB / 328.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.008643, allocations: 12.88 kB / 328.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007094/0.009353, allocations: 311.1 kB / 328.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.009467, allocations: 55.12 kB / 329 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.009563, allocations: 46.33 kB / 329 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007057/0.01027, allocations: 364.4 kB / 329.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01027, allocations: 7.875 kB / 329.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01028, allocations: 0 / 329.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.01028, allocations: 0 / 329.4 MB, free: 14.01 MB / 302.1 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.001319/0.0116, allocations: 499.6 kB / 329.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.01164, allocations: 13.36 kB / 329.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/0.01188, allocations: 36.47 kB / 329.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.01238, allocations: 214.1 kB / 330.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.0124, allocations: 8.359 kB / 330.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.01244, allocations: 10.62 kB / 330.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.01268, allocations: 107.4 kB / 330.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.01269, allocations: 192 / 330.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.01271, allocations: 5.531 kB / 330.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.01272, allocations: 5.062 kB / 330.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.01292, allocations: 74.69 kB / 330.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000878/0.01379, allocations: 366.3 kB / 330.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.01408, allocations: 114.7 kB / 330.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.01419, allocations: 56.39 kB / 330.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.01421, allocations: 5.406 kB / 330.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.01444, allocations: 122.4 kB / 331 MB, free: 12.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.614e-06/0.01444, allocations: 0 / 331 MB, free: 12.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005472/0.01499, allocations: 238.2 kB / 331.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.01505, allocations: 55.81 kB / 331.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.01549, allocations: 245.1 kB / 331.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.01553, allocations: 39.22 kB / 331.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.01562, allocations: 119.9 kB / 331.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.01568, allocations: 49.48 kB / 331.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.01577, allocations: 43.17 kB / 331.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.01592, allocations: 332.8 kB / 332.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.01609, allocations: 85.02 kB / 332.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.01628, allocations: 109.5 kB / 332.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.01661, allocations: 178.5 kB / 332.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.01661, allocations: 3.938 kB / 332.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005079/0.01712, allocations: 264 kB / 332.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.01714, allocations: 5.656 kB / 332.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01715, allocations: 0 / 332.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.01717, allocations: 6.312 kB / 332.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.01736, allocations: 26.39 kB / 332.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01737, allocations: 1.156 kB / 332.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.01758, allocations: 28.67 kB / 332.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.01761, allocations: 7.578 kB / 332.8 MB, free: 11.5 MB / 302.1 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.0001505/0.01776, allocations: 153 kB / 332.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.0178, allocations: 14.66 kB / 332.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.01785, allocations: 22.64 kB / 333 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01786, allocations: 9.281 kB / 333 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.01786, allocations: 0 / 333 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01787, allocations: 0 / 333 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.01808, allocations: 174.4 kB / 333.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01808, allocations: 0 / 333.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.01821, allocations: 15.77 kB / 333.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01821, allocations: 1.094 kB / 333.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.01823, allocations: 6.188 kB / 333.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01824, allocations: 0 / 333.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01824, allocations: 5.031 kB / 333.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.01876, allocations: 277.4 kB / 333.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.474e-05/0.01885, allocations: 32.22 kB / 333.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.01889, allocations: 9.281 kB / 333.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.01908, allocations: 21.25 kB / 333.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.01913, allocations: 11.52 kB / 333.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.01914, allocations: 2.594 kB / 333.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003527/0.01949, allocations: 192.1 kB / 333.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01949, allocations: 4.062 kB / 333.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004665/0.01996, allocations: 87.61 kB / 333.8 MB, free: 10.77 MB / 302.1 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.0007416/0.0207, allocations: 274.2 kB / 334.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.02114, allocations: 166.2 kB / 334.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.02114, allocations: 0 / 334.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.02129, allocations: 66.66 kB / 334.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.02155, allocations: 23.95 kB / 334.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007891/0.02233, allocations: 331.5 kB / 334.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.02246, allocations: 120.7 kB / 334.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.02256, allocations: 33.08 kB / 334.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.02262, allocations: 16.53 kB / 334.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.02262, allocations: 0 / 334.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of Templates: time 0.008079/0.0307, allocations: 3.171 MB / 338 MB, free: 7.887 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9707854725420475]