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.001635/0.001635, 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.001648/0.001648, 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.422/1.422, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.002417/0.002417, allocations: 59.89 kB / 366.8 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1117, allocations: 52.14 MB / 419 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003018/0.1147, allocations: 1.657 MB / 420.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.1169, allocations: 1.204 MB / 421.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.117, allocations: 0 / 421.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.1173, allocations: 39.72 kB / 421.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.1175, allocations: 39.77 kB / 421.9 MB, free: 9.168 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.0008217/0.1183, allocations: 287.2 kB / 422.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.1186, allocations: 179.5 kB / 422.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.1187, allocations: 17.09 kB / 422.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1188, allocations: 91.67 kB / 422.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000612/0.1194, allocations: 111.6 kB / 422.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.1195, allocations: 16 kB / 422.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004659/0.1199, allocations: 283.5 kB / 422.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.863e-05/0.12, allocations: 47.89 kB / 422.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.506e-05/0.1201, allocations: 71.52 kB / 423 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.1206, allocations: 326.9 kB / 423.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1206, allocations: 4 kB / 423.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1206, allocations: 0 / 423.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1206, allocations: 0 / 423.3 MB, free: 7.762 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.00122/0.1218, allocations: 0.5605 MB / 423.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1219, allocations: 11.89 kB / 423.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.1221, allocations: 28.83 kB / 423.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.1225, allocations: 292.6 kB / 424.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1226, allocations: 0 / 424.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.1226, allocations: 12 kB / 424.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.1228, allocations: 100.2 kB / 424.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1228, allocations: 0 / 424.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.1229, allocations: 11.98 kB / 424.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1229, allocations: 0 / 424.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.1231, allocations: 79.88 kB / 424.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008356/0.1239, allocations: 448.5 kB / 424.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.1242, allocations: 122.5 kB / 424.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1243, allocations: 52.83 kB / 425 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1243, allocations: 8.031 kB / 425 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.1245, allocations: 115.3 kB / 425.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1245, allocations: 0 / 425.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005138/0.125, allocations: 229.4 kB / 425.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.1251, allocations: 59.34 kB / 425.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.1255, allocations: 248.8 kB / 425.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.1255, allocations: 45.69 kB / 425.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.1256, allocations: 112.1 kB / 425.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.1257, allocations: 47.78 kB / 425.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.1258, allocations: 41.7 kB / 425.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1259, allocations: 334.8 kB / 426.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.1261, allocations: 80.05 kB / 426.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.1262, allocations: 114.2 kB / 426.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.1266, allocations: 181.7 kB / 426.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1266, allocations: 0 / 426.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004439/0.127, allocations: 257.3 kB / 426.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.127, allocations: 10.33 kB / 426.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.127, allocations: 0 / 426.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.127, allocations: 8.031 kB / 426.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.1272, allocations: 31.91 kB / 426.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1272, allocations: 4 kB / 426.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.1274, allocations: 31.86 kB / 426.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1274, allocations: 4 kB / 426.9 MB, free: 3.91 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.0001257/0.1276, allocations: 137.8 kB / 427 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.1276, allocations: 23.8 kB / 427.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.1277, allocations: 25.52 kB / 427.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1277, allocations: 4 kB / 427.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1277, allocations: 0 / 427.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1277, allocations: 0 / 427.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.1279, allocations: 245.5 kB / 427.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1279, allocations: 3.938 kB / 427.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.128, allocations: 15.98 kB / 427.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.128, allocations: 0 / 427.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1281, allocations: 0 / 427.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1281, allocations: 0 / 427.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1281, allocations: 8 kB / 427.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.1286, allocations: 276 kB / 427.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.1287, allocations: 116.9 kB / 427.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.1287, allocations: 8 kB / 427.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.1289, allocations: 15.97 kB / 427.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.1289, allocations: 7.984 kB / 427.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1289, allocations: 12.06 kB / 427.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003334/0.1293, allocations: 184.4 kB / 428 MB, free: 2.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1293, allocations: 0 / 428 MB, free: 2.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.1296, allocations: 87.73 kB / 428.1 MB, free: 2.66 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.0005847/0.1302, allocations: 262.4 kB / 428.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.1306, allocations: 163.8 kB / 428.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1306, allocations: 0 / 428.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.1307, allocations: 64.03 kB / 428.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.1309, allocations: 28.05 kB / 428.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/0.1316, allocations: 391.4 kB / 428.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.132, allocations: 0.7319 MB / 429.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.132, allocations: 19.44 kB / 429.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.132, allocations: 0 / 429.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of Templates: time 0.006325/0.1383, allocations: 3.519 MB / 433.2 MB, free: 13.46 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.922862930921838]