Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 85.91 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 164.8 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.785e-05, allocations: 9.453 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003113/0.003141, allocations: 1.656 MB / 326.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.005918, allocations: 1.198 MB / 327.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.006044, allocations: 1.125 kB / 327.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.006433, allocations: 37.97 kB / 328 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.006608, allocations: 42.77 kB / 328 MB, free: 14.6 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.001264/0.007871, allocations: 323.8 kB / 328.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.008209, allocations: 147.8 kB / 328.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.008296, allocations: 16.59 kB / 328.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.008602, allocations: 93.52 kB / 328.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006632/0.009265, allocations: 90.97 kB / 328.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.194e-05/0.009347, allocations: 12.03 kB / 328.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008622/0.01021, allocations: 316 kB / 329 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.01038, allocations: 51.48 kB / 329 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.0105, allocations: 45.06 kB / 329.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.01158, allocations: 368.1 kB / 329.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01159, allocations: 5.406 kB / 329.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01159, allocations: 0 / 329.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.0116, allocations: 0 / 329.4 MB, free: 14.05 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.001678/0.01328, allocations: 495.4 kB / 329.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.01332, allocations: 13.72 kB / 329.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.01364, allocations: 31.28 kB / 330 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.01424, allocations: 214.5 kB / 330.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.01426, allocations: 4.406 kB / 330.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.0143, allocations: 18.2 kB / 330.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.01459, allocations: 103.7 kB / 330.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.01461, allocations: 3.938 kB / 330.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.01463, allocations: 1.312 kB / 330.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.01464, allocations: 5.375 kB / 330.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.01486, allocations: 73.84 kB / 330.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009789/0.01584, allocations: 374.5 kB / 330.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.01616, allocations: 118.7 kB / 330.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.01629, allocations: 55.36 kB / 330.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.01631, allocations: 1.031 kB / 330.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.01656, allocations: 120.5 kB / 331 MB, free: 12.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.01656, allocations: 0 / 331 MB, free: 12.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006034/0.01716, allocations: 233.5 kB / 331.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.01723, allocations: 59.53 kB / 331.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.01772, allocations: 253.2 kB / 331.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.01777, allocations: 36.3 kB / 331.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.01788, allocations: 114.6 kB / 331.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.92e-05/0.01795, allocations: 54.09 kB / 331.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.01805, allocations: 43.08 kB / 331.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.01824, allocations: 332.3 kB / 332.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.01843, allocations: 90.44 kB / 332.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.01862, allocations: 106.1 kB / 332.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.01901, allocations: 186.9 kB / 332.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01901, allocations: 1.094 kB / 332.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005311/0.01954, allocations: 259.1 kB / 332.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.01956, allocations: 8.031 kB / 332.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.01957, allocations: 1.156 kB / 332.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.01959, allocations: 1.156 kB / 332.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.01978, allocations: 30.83 kB / 332.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.01978, allocations: 1.188 kB / 332.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.02002, allocations: 35.61 kB / 332.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.02005, allocations: 8.219 kB / 332.8 MB, free: 11.54 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.0001655/0.02021, allocations: 141.4 kB / 333 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.02026, allocations: 15.66 kB / 333 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.02031, allocations: 20.86 kB / 333 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.02032, allocations: 6.156 kB / 333 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.02032, allocations: 0 / 333 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.02033, allocations: 3.938 kB / 333 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.02064, allocations: 170.1 kB / 333.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.02065, allocations: 0.875 kB / 333.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.02078, allocations: 20.17 kB / 333.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.02078, allocations: 4 kB / 333.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.0208, allocations: 2.219 kB / 333.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.0208, allocations: 0 / 333.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02081, allocations: 1.312 kB / 333.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.02138, allocations: 277.4 kB / 333.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.091e-05/0.02147, allocations: 32.16 kB / 333.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.02151, allocations: 13.36 kB / 333.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.0217, allocations: 17.3 kB / 333.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.02175, allocations: 7.109 kB / 333.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.02176, allocations: 10.52 kB / 333.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003744/0.02214, allocations: 192.1 kB / 333.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02214, allocations: 192 / 333.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005612/0.0227, allocations: 87.48 kB / 333.8 MB, free: 10.84 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.0009039/0.0236, allocations: 292.5 kB / 334.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004506/0.02406, allocations: 157.9 kB / 334.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.02406, allocations: 0 / 334.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.02421, allocations: 67.41 kB / 334.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.02449, allocations: 26.08 kB / 334.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008721/0.02537, allocations: 328.8 kB / 334.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.02552, allocations: 119.4 kB / 334.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.02563, allocations: 38.75 kB / 334.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.02571, allocations: 20.84 kB / 334.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.02571, allocations: 0 / 334.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Templates: time 0.009661/0.03537, allocations: 3.168 MB / 338 MB, free: 7.953 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.113543692976236]