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.001749/0.001749, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002304/0.002304, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.472/1.472, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.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 0.001953/0.001953, allocations: 63.89 kB / 378.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.259, allocations: 53.37 MB / 432.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002781/0.2618, allocations: 1.677 MB / 433.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.264, allocations: 1.282 MB / 435.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.2641, allocations: 4 kB / 435.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.2644, allocations: 35.77 kB / 435.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.2645, allocations: 43.7 kB / 435.2 MB, free: 4.012 MB / 334.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.0007467/0.2652, allocations: 307.1 kB / 435.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.2655, allocations: 199.5 kB / 435.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.2656, allocations: 21.25 kB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.2658, allocations: 87.67 kB / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.2664, allocations: 108.8 kB / 435.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.2664, allocations: 12 kB / 435.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.267, allocations: 331.4 kB / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.2671, allocations: 59.81 kB / 436.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.43e-05/0.2672, allocations: 67.58 kB / 436.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.2677, allocations: 336.5 kB / 436.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2677, allocations: 0 / 436.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2677, allocations: 0 / 436.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.2677, allocations: 0 / 436.7 MB, free: 2.523 MB / 334.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.001187/0.2689, allocations: 492.9 kB / 437.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2689, allocations: 12.03 kB / 437.2 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.2691, allocations: 24.8 kB / 437.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.2696, allocations: 223 kB / 437.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2696, allocations: 8.375 kB / 437.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.2696, allocations: 12.38 kB / 437.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.2699, allocations: 102 kB / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2699, allocations: 0 / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.2699, allocations: 3.984 kB / 437.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2699, allocations: 4 kB / 437.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.2701, allocations: 83.88 kB / 437.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.271, allocations: 423.5 kB / 438 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.2713, allocations: 118.5 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.2714, allocations: 52.83 kB / 438.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.2714, allocations: 8 kB / 438.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.2716, allocations: 115.4 kB / 438.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.003e-06/0.2716, allocations: 0 / 438.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005783/0.2722, allocations: 233.6 kB / 438.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.2723, allocations: 67.33 kB / 438.6 MB, free: 444 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.2727, allocations: 243.8 kB / 438.8 MB, free: 192 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.2727, allocations: 41.69 kB / 438.9 MB, free: 144 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.2728, allocations: 108.1 kB / 439 MB, free: 32 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.2729, allocations: 47.78 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.273, allocations: 41.7 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2731, allocations: 334.8 kB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.2733, allocations: 83.94 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.2735, allocations: 113.4 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.2738, allocations: 181.8 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2738, allocations: 0 / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004691/0.2743, allocations: 253.3 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2743, allocations: 4 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2743, allocations: 0 / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2743, allocations: 7.984 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.2745, allocations: 39.88 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2745, allocations: 4 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.2747, allocations: 35.8 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.2747, allocations: 8 kB / 440.1 MB, free: 14.87 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.0001429/0.2748, allocations: 137.8 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.2749, allocations: 15.91 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.72e-05/0.2749, allocations: 21.47 kB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.275, allocations: 7.938 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.275, allocations: 3.984 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.275, allocations: 0 / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.2753, allocations: 212.6 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2753, allocations: 0 / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.2754, allocations: 15.98 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2754, allocations: 96 / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.2754, allocations: 7.922 kB / 440.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.2754, allocations: 7.938 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2754, allocations: 0 / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.2759, allocations: 276.5 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.276, allocations: 43.8 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.276, allocations: 4 kB / 440.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.2762, allocations: 19.91 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.2763, allocations: 11.98 kB / 440.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.2763, allocations: 4 kB / 440.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003522/0.2767, allocations: 189.5 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2767, allocations: 0 / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003795/0.277, allocations: 91.8 kB / 441.2 MB, free: 13.75 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.0006735/0.2777, allocations: 264.4 kB / 441.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004058/0.2781, allocations: 163.4 kB / 441.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2781, allocations: 0 / 441.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.2783, allocations: 59.97 kB / 441.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.2785, allocations: 23.98 kB / 441.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.2792, allocations: 357.6 kB / 442 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.2796, allocations: 0.7281 MB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.2797, allocations: 37.39 kB / 442.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.2798, allocations: 19.38 kB / 442.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2798, allocations: 0 / 442.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Templates: time 0.007708/0.2875, allocations: 3.119 MB / 445.9 MB, free: 8.977 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 -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: 5.127259938977659]