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.001595/0.001595, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 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.001758/0.001758, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 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.521/1.521, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 47.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 53.33 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002865/0.1191, allocations: 1.678 MB / 428.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.1214, allocations: 1.267 MB / 430 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.1215, allocations: 4 kB / 430 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.1219, allocations: 23.78 kB / 430 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.122, allocations: 43.77 kB / 430 MB, free: 1.754 MB / 350.1 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.0007492/0.1228, allocations: 287.1 kB / 430.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.123, allocations: 183.5 kB / 430.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1231, allocations: 9.125 kB / 430.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.1233, allocations: 95.7 kB / 430.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005733/0.1239, allocations: 107.7 kB / 430.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.1239, allocations: 12 kB / 430.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.1244, allocations: 291.5 kB / 431 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.1245, allocations: 51.77 kB / 431.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.058e-05/0.1246, allocations: 75.58 kB / 431.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.1251, allocations: 326.9 kB / 431.4 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1251, allocations: 0 / 431.4 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.1251, allocations: 15.86 kB / 431.5 MB, free: 340 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1251, allocations: 0 / 431.5 MB, free: 340 kB / 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.001316/0.1264, allocations: 0.5566 MB / 432 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1264, allocations: 8.031 kB / 432 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.694e-05/0.1265, allocations: 192 / 432 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.1265, allocations: 42.73 kB / 432.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.1267, allocations: 32.78 kB / 432.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.1272, allocations: 273 kB / 432.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.1272, allocations: 4.125 kB / 432.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.1273, allocations: 12 kB / 432.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.1275, allocations: 97.62 kB / 432.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1275, allocations: 0 / 432.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1275, allocations: 8 kB / 432.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1275, allocations: 0 / 432.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.1277, allocations: 75.94 kB / 432.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008811/0.1286, allocations: 456.5 kB / 433 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.1289, allocations: 118.5 kB / 433.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.129, allocations: 56.77 kB / 433.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.129, allocations: 4 kB / 433.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.1293, allocations: 119.4 kB / 433.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.1293, allocations: 0 / 433.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005198/0.1298, allocations: 237.1 kB / 433.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.1298, allocations: 63.38 kB / 433.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.1303, allocations: 251.7 kB / 433.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.1303, allocations: 37.7 kB / 433.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.1304, allocations: 112.1 kB / 434 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.1305, allocations: 47.78 kB / 434 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.369e-05/0.1305, allocations: 45.69 kB / 434.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1307, allocations: 330.8 kB / 434.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.1309, allocations: 83.89 kB / 434.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.1311, allocations: 109.7 kB / 434.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.1314, allocations: 177.8 kB / 434.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1314, allocations: 0 / 434.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004626/0.1318, allocations: 261.3 kB / 435 MB, free: 12.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1318, allocations: 7.938 kB / 435 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/0.1319, allocations: 0 / 435 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1319, allocations: 8.125 kB / 435 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.132, allocations: 35.84 kB / 435.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.132, allocations: 4 kB / 435.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.1322, allocations: 27.88 kB / 435.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1323, allocations: 4 kB / 435.1 MB, free: 12.45 MB / 366.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.0001476/0.1324, allocations: 137.8 kB / 435.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.1324, allocations: 27.77 kB / 435.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.593e-05/0.1325, allocations: 21.53 kB / 435.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1325, allocations: 4 kB / 435.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1325, allocations: 0 / 435.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1325, allocations: 0 / 435.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.1328, allocations: 249.4 kB / 435.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1328, allocations: 0 / 435.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.1329, allocations: 19.92 kB / 435.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1329, allocations: 3.938 kB / 435.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1329, allocations: 0 / 435.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1329, allocations: 4 kB / 435.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1329, allocations: 7.984 kB / 435.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.1334, allocations: 268.9 kB / 435.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1335, allocations: 112.9 kB / 435.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.1336, allocations: 11.98 kB / 436 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.1337, allocations: 19.97 kB / 436 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.1338, allocations: 4 kB / 436 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1338, allocations: 16.05 kB / 436 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003284/0.1341, allocations: 181.5 kB / 436.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1341, allocations: 4 kB / 436.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.1345, allocations: 87.8 kB / 436.3 MB, free: 11.19 MB / 366.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.001333/0.1358, allocations: 0.9662 MB / 437.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003747/0.1362, allocations: 155.8 kB / 437.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1362, allocations: 3.938 kB / 437.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.1363, allocations: 63.91 kB / 437.4 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1365, allocations: 19.98 kB / 437.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.14, allocations: 2.372 MB / 439.8 MB, free: 7.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.1403, allocations: 0.7319 MB / 440.6 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.1404, allocations: 33.39 kB / 440.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.1405, allocations: 47.42 kB / 440.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1405, allocations: 0 / 440.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.1679, allocations: 5.172 MB / 445.8 MB, free: 1.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.571/8.739, allocations: 14.75 kB / 445.8 MB, free: 1.629 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 12.55918738298351]