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.001985/0.001986, allocations: 120.4 kB / 18.41 MB, free: 4.688 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.002407/0.002407, allocations: 189.3 kB / 21.35 MB, free: 1.75 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.491/1.491, allocations: 222.9 MB / 247.1 MB, free: 4.215 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.001539/0.001539, allocations: 47.92 kB / 358.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1046, allocations: 49.44 MB / 408.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003118/0.1077, allocations: 1.643 MB / 409.8 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.1101, allocations: 1.185 MB / 410.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1102, allocations: 7.938 kB / 410.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.1106, allocations: 39.7 kB / 411 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.1107, allocations: 35.72 kB / 411 MB, free: 3.961 MB / 334.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.0008276/0.1116, allocations: 295.2 kB / 411.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.1119, allocations: 175.6 kB / 411.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.912e-05/0.112, allocations: 25.09 kB / 411.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.1121, allocations: 87.67 kB / 411.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006469/0.1128, allocations: 104.6 kB / 411.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.1129, allocations: 15.94 kB / 411.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.1133, allocations: 263.5 kB / 412 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1134, allocations: 51.88 kB / 412 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1135, allocations: 71.58 kB / 412.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005834/0.1141, allocations: 330.9 kB / 412.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1141, allocations: 0 / 412.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1142, allocations: 0 / 412.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1142, allocations: 0 / 412.4 MB, free: 2.574 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.001304/0.1155, allocations: 0.5644 MB / 413 MB, free: 1.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1155, allocations: 11.89 kB / 413 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.1157, allocations: 28.83 kB / 413 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.1163, allocations: 280.6 kB / 413.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1163, allocations: 8 kB / 413.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.1163, allocations: 4 kB / 413.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.1166, allocations: 109.6 kB / 413.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1166, allocations: 4 kB / 413.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1166, allocations: 0 / 413.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1166, allocations: 0 / 413.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.1168, allocations: 83.88 kB / 413.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009032/0.1178, allocations: 452.5 kB / 413.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.1181, allocations: 126.5 kB / 414.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.1182, allocations: 60.83 kB / 414.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.1182, allocations: 96 / 414.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.1185, allocations: 115.3 kB / 414.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1185, allocations: 4 kB / 414.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005496/0.119, allocations: 233.4 kB / 414.5 MB, free: 352 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.1191, allocations: 63.34 kB / 414.5 MB, free: 276 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/0.1195, allocations: 248.7 kB / 414.8 MB, free: 20 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.1196, allocations: 37.7 kB / 414.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1197, allocations: 116.1 kB / 414.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.1198, allocations: 47.78 kB / 415 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.1199, allocations: 45.7 kB / 415 MB, free: 15.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1201, allocations: 330.8 kB / 415.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.1202, allocations: 79.95 kB / 415.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.1204, allocations: 106.3 kB / 415.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.1208, allocations: 189.7 kB / 415.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1208, allocations: 0 / 415.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004763/0.1213, allocations: 253.4 kB / 415.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.1213, allocations: 4 kB / 415.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.1213, allocations: 4 kB / 416 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1213, allocations: 0 / 416 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.1215, allocations: 27.92 kB / 416 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1215, allocations: 4 kB / 416 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.1217, allocations: 39.83 kB / 416 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.1218, allocations: 4 kB / 416 MB, free: 14.71 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.0001466/0.1219, allocations: 141.8 kB / 416.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.122, allocations: 19.8 kB / 416.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.179e-05/0.122, allocations: 25.52 kB / 416.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.122, allocations: 0 / 416.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1221, allocations: 0 / 416.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1221, allocations: 0 / 416.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.1224, allocations: 249.5 kB / 416.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1224, allocations: 3.938 kB / 416.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.1225, allocations: 15.98 kB / 416.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1225, allocations: 0 / 416.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.1225, allocations: 4 kB / 416.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1225, allocations: 0 / 416.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1226, allocations: 0 / 416.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.1231, allocations: 288.3 kB / 416.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1232, allocations: 109 kB / 416.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.1233, allocations: 11.98 kB / 416.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.1234, allocations: 15.98 kB / 416.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.1235, allocations: 11.98 kB / 416.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1235, allocations: 0 / 416.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003533/0.1239, allocations: 192.4 kB / 417.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1239, allocations: 4.25 kB / 417.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003833/0.1243, allocations: 87.8 kB / 417.2 MB, free: 13.46 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.0006648/0.125, allocations: 261.4 kB / 417.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003975/0.1254, allocations: 167.8 kB / 417.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1254, allocations: 0 / 417.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.1255, allocations: 67.95 kB / 417.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.1258, allocations: 23.81 kB / 417.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.1265, allocations: 391.5 kB / 418.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1269, allocations: 0.728 MB / 418.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.127, allocations: 23.42 kB / 418.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.127, allocations: 0 / 418.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Templates: time 0.00667/0.1337, allocations: 3.499 MB / 422.3 MB, free: 8.281 MB / 350.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.977921157958917]