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.001424/0.001424, allocations: 81.55 kB / 21.25 MB, free: 0.5469 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.001498/0.001498, allocations: 158.5 kB / 24.5 MB, free: 3.719 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.393/1.393, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 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.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 0.001913/0.001913, allocations: 61.3 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1339, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003672/0.1376, allocations: 1.655 MB / 380.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.1402, allocations: 1.192 MB / 381.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.1404, allocations: 4 kB / 381.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.1408, allocations: 31.78 kB / 381.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.141, allocations: 47.7 kB / 381.8 MB, free: 12.53 MB / 350.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.001088/0.1421, allocations: 299.2 kB / 382.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.1425, allocations: 203.5 kB / 382.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1426, allocations: 9.297 kB / 382.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.1429, allocations: 87.67 kB / 382.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008388/0.1437, allocations: 110.3 kB / 382.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.541e-05/0.1438, allocations: 12 kB / 382.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.1445, allocations: 311.4 kB / 382.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.1446, allocations: 55.86 kB / 382.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.1448, allocations: 59.66 kB / 383 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007685/0.1455, allocations: 326.9 kB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1455, allocations: 3.938 kB / 383.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1455, allocations: 0 / 383.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1455, allocations: 0 / 383.3 MB, free: 11.08 MB / 350.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.001468/0.147, allocations: 496.8 kB / 383.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1471, allocations: 11.98 kB / 383.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.1473, allocations: 32.78 kB / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.1479, allocations: 219 kB / 384 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.1479, allocations: 8.375 kB / 384 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.1479, allocations: 12.38 kB / 384 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.1482, allocations: 105.9 kB / 384.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1482, allocations: 0 / 384.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1482, allocations: 0 / 384.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1482, allocations: 4 kB / 384.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.1484, allocations: 75.94 kB / 384.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000891/0.1493, allocations: 372.3 kB / 384.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.1496, allocations: 122.4 kB / 384.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.1497, allocations: 56.83 kB / 384.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1497, allocations: 0 / 384.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.15, allocations: 127.2 kB / 384.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.15, allocations: 0 / 384.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005354/0.1505, allocations: 237.1 kB / 385.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.1506, allocations: 59.34 kB / 385.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.151, allocations: 243.9 kB / 385.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.1511, allocations: 45.69 kB / 385.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/0.1512, allocations: 112.3 kB / 385.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.1512, allocations: 47.58 kB / 385.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.1513, allocations: 45.7 kB / 385.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1515, allocations: 330.8 kB / 386 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.1517, allocations: 83.95 kB / 386.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.1519, allocations: 111.6 kB / 386.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.1522, allocations: 182.5 kB / 386.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1522, allocations: 0 / 386.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005073/0.1527, allocations: 257.3 kB / 386.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1527, allocations: 8 kB / 386.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1527, allocations: 0 / 386.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.1527, allocations: 3.984 kB / 386.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.1529, allocations: 31.92 kB / 386.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1529, allocations: 3.938 kB / 386.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.1531, allocations: 35.94 kB / 386.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1532, allocations: 4 kB / 386.7 MB, free: 7.488 MB / 350.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.0001534/0.1533, allocations: 145.7 kB / 386.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.1534, allocations: 15.91 kB / 386.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.1534, allocations: 17.47 kB / 386.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1534, allocations: 11.92 kB / 386.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1534, allocations: 3.938 kB / 386.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1534, allocations: 0 / 386.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.1536, allocations: 165.2 kB / 387 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1536, allocations: 4 kB / 387 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1538, allocations: 15.98 kB / 387.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1538, allocations: 0 / 387.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.1538, allocations: 8 kB / 387.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1538, allocations: 0 / 387.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1538, allocations: 0 / 387.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.1543, allocations: 276.8 kB / 387.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/0.1544, allocations: 35.8 kB / 387.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.1544, allocations: 4 kB / 387.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1546, allocations: 28.03 kB / 387.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.1547, allocations: 7.984 kB / 387.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1547, allocations: 4.125 kB / 387.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000346/0.155, allocations: 197.4 kB / 387.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.155, allocations: 3.938 kB / 387.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003955/0.1554, allocations: 83.8 kB / 387.7 MB, free: 6.418 MB / 350.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.0007337/0.1561, allocations: 270.3 kB / 388 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003919/0.1565, allocations: 155.9 kB / 388.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1565, allocations: 4.062 kB / 388.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.1567, allocations: 67.89 kB / 388.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.1569, allocations: 15.94 kB / 388.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007988/0.1577, allocations: 361.6 kB / 388.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.1578, allocations: 111.4 kB / 388.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.747e-05/0.1579, allocations: 37.45 kB / 388.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.158, allocations: 20.48 kB / 388.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.158, allocations: 0 / 388.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of Templates: time 0.008636/0.1666, allocations: 3.144 MB / 391.9 MB, free: 2.25 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/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: 5.038451328058727]