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.001021/0.001021, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001144/0.001144, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 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.11/1.11, allocations: 177.1 MB / 205.2 MB, free: 5.492 MB / 186.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.733e-06/1.733e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.815e-05, allocations: 2.312 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003406/0.003434, allocations: 1.692 MB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.00585, allocations: 1.2 MB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.005983, allocations: 4 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.006362, allocations: 31.7 kB / 276.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.006498, allocations: 39.78 kB / 276.4 MB, free: 14.29 MB / 266.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.001019/0.007517, allocations: 322.7 kB / 276.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.007784, allocations: 151.6 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.007894, allocations: 17.3 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.00816, allocations: 99.77 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007407/0.008901, allocations: 106.3 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.113e-05/0.008962, allocations: 12 kB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006965/0.009658, allocations: 315.2 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.009776, allocations: 59.8 kB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.975e-05/0.009856, allocations: 39.84 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007341/0.01059, allocations: 330.9 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.0106, allocations: 4 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.0106, allocations: 4 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.0106, allocations: 7.922 kB / 277.8 MB, free: 12.86 MB / 266.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.0009783/0.01158, allocations: 0.5383 MB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.01163, allocations: 12.03 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.01187, allocations: 32.78 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.0122, allocations: 201.9 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.01223, allocations: 8.375 kB / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.01225, allocations: 4.375 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.01242, allocations: 72.77 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.01243, allocations: 3.938 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.01244, allocations: 4 kB / 278.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.01245, allocations: 0 / 278.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.795e-05/0.01252, allocations: 23.97 kB / 278.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.0132, allocations: 356.2 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.01336, allocations: 66.95 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.0134, allocations: 19.69 kB / 279.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.01342, allocations: 11.92 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.01358, allocations: 81 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 3.436e-06/0.01358, allocations: 0 / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003167/0.0139, allocations: 133.7 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.01395, allocations: 67.39 kB / 279.4 MB, free: 11.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.0142, allocations: 247.8 kB / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.01423, allocations: 41.69 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.01434, allocations: 162.8 kB / 279.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.01439, allocations: 43.81 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.01449, allocations: 55.33 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.01466, allocations: 0.5001 MB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.01472, allocations: 27.91 kB / 280.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.21e-05/0.01481, allocations: 63.27 kB / 280.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.01494, allocations: 80.09 kB / 280.6 MB, free: 9.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01494, allocations: 4 kB / 280.6 MB, free: 9.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000273/0.01522, allocations: 141.4 kB / 280.8 MB, free: 9.684 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01524, allocations: 4 kB / 280.8 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.01525, allocations: 4 kB / 280.8 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.01526, allocations: 0 / 280.8 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.01542, allocations: 31.98 kB / 280.8 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.01542, allocations: 3.938 kB / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.773e-05/0.01552, allocations: 23.88 kB / 280.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.01554, allocations: 3.938 kB / 280.8 MB, free: 9.613 MB / 266.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 0.0001241/0.01566, allocations: 176.6 kB / 281 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.0157, allocations: 19.91 kB / 281 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.01574, allocations: 21.45 kB / 281 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01575, allocations: 0 / 281 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.01575, allocations: 0 / 281 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01575, allocations: 0 / 281 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.01593, allocations: 145.1 kB / 281.2 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01593, allocations: 0 / 281.2 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.01606, allocations: 19.92 kB / 281.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01607, allocations: 8 kB / 281.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.01608, allocations: 0 / 281.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01608, allocations: 0 / 281.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01608, allocations: 0 / 281.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.01638, allocations: 176.2 kB / 281.4 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.01644, allocations: 35.77 kB / 281.4 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.01647, allocations: 11.94 kB / 281.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.01654, allocations: 3.938 kB / 281.4 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.01658, allocations: 7.984 kB / 281.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.0166, allocations: 11.98 kB / 281.5 MB, free: 8.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.01672, allocations: 176.4 kB / 281.6 MB, free: 8.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01672, allocations: 0 / 281.6 MB, free: 8.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.01711, allocations: 87.8 kB / 281.7 MB, free: 8.672 MB / 266.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.0005684/0.01768, allocations: 283.5 kB / 282 MB, free: 8.418 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.01786, allocations: 86.88 kB / 282.1 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01786, allocations: 4 kB / 282.1 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.4e-05/0.01791, allocations: 31.61 kB / 282.1 MB, free: 8.293 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.01812, allocations: 30.45 kB / 282.1 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.0186, allocations: 322.9 kB / 282.5 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.076e-05/0.01864, allocations: 71.83 kB / 282.5 MB, free: 7.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.006e-05/0.0187, allocations: 25.47 kB / 282.5 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.01879, allocations: 90.19 kB / 282.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01879, allocations: 0 / 282.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of Templates: time 0.006049/0.02484, allocations: 3.586 MB / 286.2 MB, free: 4.156 MB / 266.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 -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: 3.612103453371674]