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.001713/0.001713, allocations: 74.03 kB / 21.24 MB, free: 0.5547 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.001997/0.001997, allocations: 154.1 kB / 24.49 MB, free: 3.855 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.424/1.424, allocations: 173.4 MB / 201.1 MB, free: 12.66 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.001598/0.001598, allocations: 48 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09936, allocations: 52.16 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003047/0.1024, allocations: 1.634 MB / 373.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.1046, allocations: 1.129 MB / 374.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.1047, allocations: 4 kB / 374.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.1051, allocations: 39.72 kB / 374.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1052, allocations: 39.75 kB / 374.4 MB, free: 4.473 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.0008083/0.106, allocations: 307 kB / 374.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.1063, allocations: 195.5 kB / 374.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1065, allocations: 21.28 kB / 374.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1066, allocations: 91.67 kB / 375 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006266/0.1073, allocations: 103.7 kB / 375.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.1073, allocations: 12 kB / 375.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.1078, allocations: 307.4 kB / 375.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1079, allocations: 55.81 kB / 375.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.108, allocations: 59.64 kB / 375.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.1086, allocations: 330.9 kB / 375.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1086, allocations: 0 / 375.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1086, allocations: 0 / 375.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1086, allocations: 0 / 375.9 MB, free: 3.016 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.001257/0.1099, allocations: 0.4891 MB / 376.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1099, allocations: 12.03 kB / 376.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.1101, allocations: 20.84 kB / 376.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.1106, allocations: 226.8 kB / 376.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1106, allocations: 3.938 kB / 376.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.1107, allocations: 12 kB / 376.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.1109, allocations: 96.73 kB / 376.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1109, allocations: 4 kB / 376.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.1109, allocations: 11.98 kB / 376.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1109, allocations: 0 / 376.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.1111, allocations: 75.88 kB / 376.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007954/0.1119, allocations: 372.2 kB / 377.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.1122, allocations: 118.5 kB / 377.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1123, allocations: 52.92 kB / 377.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1123, allocations: 3.938 kB / 377.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.1125, allocations: 119.3 kB / 377.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.1125, allocations: 0 / 377.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004965/0.113, allocations: 225.5 kB / 377.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.1131, allocations: 67.5 kB / 377.7 MB, free: 1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.1135, allocations: 259.8 kB / 378 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.1135, allocations: 37.64 kB / 378 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.1136, allocations: 112.1 kB / 378.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.1137, allocations: 47.78 kB / 378.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/0.1137, allocations: 49.62 kB / 378.2 MB, free: 492 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1139, allocations: 326.8 kB / 378.6 MB, free: 156 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.1141, allocations: 91.88 kB / 378.7 MB, free: 64 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.1143, allocations: 105.7 kB / 378.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.1146, allocations: 185.6 kB / 378.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1146, allocations: 0 / 378.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004345/0.115, allocations: 253.6 kB / 379.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.115, allocations: 10.59 kB / 379.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.115, allocations: 0 / 379.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.115, allocations: 4 kB / 379.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.1152, allocations: 31.91 kB / 379.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.1152, allocations: 4 kB / 379.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.1154, allocations: 27.91 kB / 379.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.1155, allocations: 11.98 kB / 379.3 MB, free: 15.43 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.0001596/0.1156, allocations: 145.5 kB / 379.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.1156, allocations: 23.8 kB / 379.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.1157, allocations: 17.47 kB / 379.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1157, allocations: 4 kB / 379.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1157, allocations: 0 / 379.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1157, allocations: 0 / 379.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.116, allocations: 169.2 kB / 379.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.116, allocations: 0 / 379.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.1161, allocations: 19.98 kB / 379.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1161, allocations: 0 / 379.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.1161, allocations: 15.92 kB / 379.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1161, allocations: 0 / 379.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1161, allocations: 0 / 379.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.1167, allocations: 272.8 kB / 379.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.693e-05/0.1167, allocations: 35.84 kB / 380 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.1168, allocations: 11.94 kB / 380 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.117, allocations: 20.03 kB / 380 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.117, allocations: 7.984 kB / 380 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.117, allocations: 12 kB / 380 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003493/0.1174, allocations: 185.4 kB / 380.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1174, allocations: 0 / 380.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003673/0.1178, allocations: 83.8 kB / 380.3 MB, free: 14.36 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.0006458/0.1184, allocations: 267.6 kB / 380.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.1188, allocations: 167.8 kB / 380.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1188, allocations: 0 / 380.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1189, allocations: 64.03 kB / 380.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.1191, allocations: 22.95 kB / 380.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006687/0.1198, allocations: 358.1 kB / 381.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.1199, allocations: 115.4 kB / 381.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.947e-05/0.12, allocations: 33.47 kB / 381.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.1201, allocations: 20.5 kB / 381.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1201, allocations: 0 / 381.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of Templates: time 0.007123/0.1272, allocations: 3.087 MB / 384.4 MB, free: 10.25 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 -s ida -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: 5.053618991980329]