Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 116.1 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 190.9 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 249.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 51.91 kB / 366.8 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.1, allocations: 52.13 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003013/0.1031, allocations: 1.652 MB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.1053, allocations: 1.212 MB / 421.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1054, allocations: 4 kB / 421.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.1057, allocations: 39.78 kB / 421.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.1059, allocations: 39.7 kB / 421.9 MB, free: 9.145 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0008043/0.1067, allocations: 287.2 kB / 422.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.1069, allocations: 175.6 kB / 422.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.107, allocations: 17.11 kB / 422.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.1072, allocations: 87.67 kB / 422.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007122/0.1079, allocations: 114.3 kB / 422.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.1079, allocations: 12 kB / 422.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.1084, allocations: 283.5 kB / 422.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.1085, allocations: 47.89 kB / 422.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.167e-05/0.1086, allocations: 75.5 kB / 423 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005328/0.1091, allocations: 322.9 kB / 423.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1091, allocations: 0 / 423.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1091, allocations: 0 / 423.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1092, allocations: 0 / 423.3 MB, free: 7.754 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.001237/0.1104, allocations: 0.5683 MB / 423.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1104, allocations: 11.89 kB / 423.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.1107, allocations: 24.84 kB / 423.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.1112, allocations: 288.6 kB / 424.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1112, allocations: 4 kB / 424.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.1112, allocations: 8 kB / 424.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.1114, allocations: 101.6 kB / 424.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1114, allocations: 0 / 424.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.1115, allocations: 8 kB / 424.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.1115, allocations: 0 / 424.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1117, allocations: 75.94 kB / 424.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.1126, allocations: 460.4 kB / 424.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.1129, allocations: 122.4 kB / 424.9 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.113, allocations: 60.83 kB / 425 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.113, allocations: 0 / 425 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.1132, allocations: 119.4 kB / 425.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.1132, allocations: 0 / 425.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004987/0.1137, allocations: 228.2 kB / 425.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.1138, allocations: 59.34 kB / 425.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/0.1142, allocations: 252.7 kB / 425.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1142, allocations: 37.7 kB / 425.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.1143, allocations: 112.1 kB / 425.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.1143, allocations: 47.77 kB / 425.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.384e-05/0.1144, allocations: 49.64 kB / 425.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1146, allocations: 334.8 kB / 426.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.1147, allocations: 83.95 kB / 426.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.1149, allocations: 106.3 kB / 426.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.1152, allocations: 177.8 kB / 426.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1152, allocations: 0 / 426.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004395/0.1156, allocations: 265.2 kB / 426.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1157, allocations: 4.031 kB / 426.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1157, allocations: 4 kB / 426.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1157, allocations: 4 kB / 426.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.1159, allocations: 27.92 kB / 426.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.1159, allocations: 4 kB / 426.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.1161, allocations: 31.86 kB / 426.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.1161, allocations: 8 kB / 426.9 MB, free: 3.895 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.0001529/0.1163, allocations: 141.8 kB / 427 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.1163, allocations: 19.8 kB / 427.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.105e-05/0.1164, allocations: 21.52 kB / 427.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1164, allocations: 4 kB / 427.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1164, allocations: 0 / 427.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1164, allocations: 0 / 427.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.1166, allocations: 237.5 kB / 427.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1166, allocations: 3.938 kB / 427.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.1168, allocations: 23.92 kB / 427.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1168, allocations: 0 / 427.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1168, allocations: 0 / 427.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1168, allocations: 8 kB / 427.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1168, allocations: 96 / 427.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.1173, allocations: 284.9 kB / 427.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1174, allocations: 108.9 kB / 427.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.1174, allocations: 11.98 kB / 427.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1176, allocations: 12.05 kB / 427.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.1176, allocations: 11.98 kB / 427.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.1176, allocations: 4 kB / 427.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000327/0.118, allocations: 196.4 kB / 428 MB, free: 2.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.118, allocations: 0 / 428 MB, free: 2.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003787/0.1184, allocations: 83.73 kB / 428.1 MB, free: 2.641 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.0006617/0.119, allocations: 266.6 kB / 428.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.1194, allocations: 159.8 kB / 428.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1194, allocations: 8.062 kB / 428.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1195, allocations: 63.89 kB / 428.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.1198, allocations: 18 kB / 428.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007571/0.1205, allocations: 391.4 kB / 428.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1209, allocations: 0.7358 MB / 429.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.121, allocations: 19.42 kB / 429.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.121, allocations: 0 / 429.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of Templates: time 0.006587/0.1275, allocations: 3.514 MB / 433.2 MB, free: 13.45 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.852309707988752]