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.001002/0.001002, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00387/0.004873, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001016/0.001016, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.00235, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9865/0.9865, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09579/1.082, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.446e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001996/0.00201, allocations: 1.737 MB / 246.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.003458, allocations: 1.236 MB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/0.003542, allocations: 0 / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.003733, allocations: 31.78 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.00382, allocations: 51.64 kB / 247.6 MB, free: 11.23 MB / 250.7 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.0005495/0.00437, allocations: 279 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.004548, allocations: 151.5 kB / 248 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.679e-05/0.004624, allocations: 17.88 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.004835, allocations: 131.7 kB / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.005167, allocations: 106.5 kB / 248.3 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.005196, allocations: 12 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.005601, allocations: 327.2 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.005668, allocations: 39.92 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.005712, allocations: 31.88 kB / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.006081, allocations: 291.1 kB / 248.9 MB, free: 9.891 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.66e-05/0.006098, allocations: 4 kB / 248.9 MB, free: 9.887 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006099, allocations: 0 / 248.9 MB, free: 9.887 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.006113, allocations: 0 / 248.9 MB, free: 9.887 MB / 250.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.0006679/0.00678, allocations: 467.2 kB / 249.4 MB, free: 9.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.713e-05/0.006808, allocations: 8.031 kB / 249.4 MB, free: 9.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.006969, allocations: 113.9 kB / 249.5 MB, free: 9.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.007167, allocations: 191.1 kB / 249.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.00718, allocations: 4.375 kB / 249.7 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.007199, allocations: 12.38 kB / 249.7 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.007312, allocations: 69.03 kB / 249.8 MB, free: 8.961 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.007321, allocations: 3.938 kB / 249.8 MB, free: 8.957 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.007329, allocations: 0 / 249.8 MB, free: 8.957 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.007334, allocations: 0 / 249.8 MB, free: 8.957 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.007382, allocations: 27.86 kB / 249.8 MB, free: 8.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.007734, allocations: 249.8 kB / 250.1 MB, free: 8.668 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.007838, allocations: 104.1 kB / 250.2 MB, free: 8.555 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.007866, allocations: 20.86 kB / 250.2 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.007875, allocations: 4.031 kB / 250.2 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.007976, allocations: 78.12 kB / 250.3 MB, free: 8.438 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.007977, allocations: 0 / 250.3 MB, free: 8.438 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001482/0.008125, allocations: 97.72 kB / 250.4 MB, free: 8.336 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.008162, allocations: 55.41 kB / 250.4 MB, free: 8.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.008284, allocations: 196.5 kB / 250.6 MB, free: 8.066 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.008306, allocations: 33.7 kB / 250.6 MB, free: 8.027 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.008342, allocations: 104.1 kB / 250.7 MB, free: 7.922 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.008378, allocations: 51.73 kB / 250.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.008426, allocations: 45.69 kB / 250.8 MB, free: 7.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.008507, allocations: 334.8 kB / 251.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.611e-05/0.008543, allocations: 26.81 kB / 251.2 MB, free: 7.457 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.008585, allocations: 41.69 kB / 251.2 MB, free: 7.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.046e-05/0.008666, allocations: 80.06 kB / 251.3 MB, free: 7.324 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.008669, allocations: 3.938 kB / 251.3 MB, free: 7.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001242/0.008793, allocations: 116.4 kB / 251.4 MB, free: 7.199 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.008804, allocations: 4 kB / 251.4 MB, free: 7.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.00881, allocations: 4.031 kB / 251.4 MB, free: 7.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.008819, allocations: 4 kB / 251.4 MB, free: 7.188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.008934, allocations: 43.92 kB / 251.5 MB, free: 7.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.008937, allocations: 0 / 251.5 MB, free: 7.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.008996, allocations: 15.89 kB / 251.5 MB, free: 7.129 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.009008, allocations: 7.984 kB / 251.5 MB, free: 7.121 MB / 250.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 8.036e-05/0.009088, allocations: 136.2 kB / 251.6 MB, free: 6.977 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.009104, allocations: 11.98 kB / 251.7 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.009136, allocations: 25.47 kB / 251.7 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.009139, allocations: 3.984 kB / 251.7 MB, free: 6.941 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.009141, allocations: 4 kB / 251.7 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.009145, allocations: 3.984 kB / 251.7 MB, free: 6.934 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.009246, allocations: 113.7 kB / 251.8 MB, free: 6.805 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.009247, allocations: 0 / 251.8 MB, free: 6.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.009302, allocations: 12 kB / 251.8 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.009338, allocations: 23.89 kB / 251.8 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.00934, allocations: 0 / 251.8 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.009349, allocations: 0 / 251.8 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.00935, allocations: 0 / 251.8 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.009352, allocations: 8 kB / 251.8 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.009498, allocations: 134.6 kB / 252 MB, free: 6.609 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.009519, allocations: 7.984 kB / 252 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.637e-05/0.009566, allocations: 8 kB / 252 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.009593, allocations: 7.984 kB / 252 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.009598, allocations: 0 / 252 MB, free: 6.586 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.526e-05/0.009654, allocations: 70.03 kB / 252.1 MB, free: 6.516 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009654, allocations: 0 / 252.1 MB, free: 6.516 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.009853, allocations: 83.8 kB / 252.1 MB, free: 6.434 MB / 250.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.0005046/0.01036, allocations: 314.9 kB / 252.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.01049, allocations: 80.75 kB / 252.5 MB, free: 6.094 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.01049, allocations: 3.984 kB / 252.5 MB, free: 6.09 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.59e-05/0.01053, allocations: 24.86 kB / 252.6 MB, free: 6.062 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.01065, allocations: 38.73 kB / 252.6 MB, free: 6.023 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.0113, allocations: 320.1 kB / 252.9 MB, free: 5.684 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.203e-05/0.01134, allocations: 75.83 kB / 253 MB, free: 5.59 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.425e-05/0.01139, allocations: 25.53 kB / 253 MB, free: 5.562 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.01147, allocations: 67.36 kB / 253.1 MB, free: 5.496 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01147, allocations: 0 / 253.1 MB, free: 5.496 MB / 250.7 MB Notification: Performance of Templates: time 0.005444/0.01692, allocations: 3.565 MB / 256.6 MB, free: 1.957 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.946932664141059]