Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001278/0.001278, allocations: 110.7 kB / 19.17 MB, free: 3.871 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.001339/0.001339, allocations: 203.8 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 207.6 MB / 232.5 MB, free: 3.977 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 55.92 kB / 343 MB, free: 9.965 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1035, allocations: 49.12 MB / 392.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.00323/0.1068, allocations: 1.661 MB / 393.8 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1091, allocations: 1.243 MB / 395 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.78e-05/0.1091, allocations: 4 kB / 395 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.1095, allocations: 27.78 kB / 395.1 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1096, allocations: 47.77 kB / 395.1 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.1105, allocations: 295.1 kB / 395.4 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.1107, allocations: 179.5 kB / 395.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1108, allocations: 9.125 kB / 395.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.111, allocations: 87.67 kB / 395.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.1112, allocations: 103.6 kB / 395.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.1113, allocations: 16 kB / 395.8 MB, free: 5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.1118, allocations: 295.4 kB / 396.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1119, allocations: 55.81 kB / 396.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.85e-05/0.112, allocations: 71.59 kB / 396.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.1126, allocations: 338.8 kB / 396.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1126, allocations: 0 / 396.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1126, allocations: 0 / 396.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1126, allocations: 0 / 396.5 MB, free: 4.254 MB / 318.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.001387/0.114, allocations: 0.5683 MB / 397.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.114, allocations: 8.031 kB / 397.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.682e-05/0.1141, allocations: 192 / 397.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.1141, allocations: 42.73 kB / 397.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.1143, allocations: 32.83 kB / 397.2 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.1148, allocations: 269 kB / 397.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.1148, allocations: 8.359 kB / 397.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.1149, allocations: 8.375 kB / 397.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1151, allocations: 105.5 kB / 397.6 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1151, allocations: 0 / 397.6 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1151, allocations: 8 kB / 397.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1151, allocations: 0 / 397.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.1153, allocations: 79.94 kB / 397.6 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008894/0.1162, allocations: 448.5 kB / 398.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.1165, allocations: 122.5 kB / 398.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1166, allocations: 52.83 kB / 398.2 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1167, allocations: 0 / 398.2 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.1169, allocations: 123.5 kB / 398.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.532e-06/0.1169, allocations: 0 / 398.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005288/0.1174, allocations: 233.5 kB / 398.6 MB, free: 1.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.1175, allocations: 71.33 kB / 398.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.1179, allocations: 243.8 kB / 398.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.118, allocations: 37.7 kB / 398.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.1181, allocations: 112.1 kB / 399.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.1181, allocations: 55.69 kB / 399.1 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.1182, allocations: 49.69 kB / 399.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1184, allocations: 338.8 kB / 399.5 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.1187, allocations: 87.8 kB / 399.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.1188, allocations: 105.7 kB / 399.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.1192, allocations: 177.7 kB / 399.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1192, allocations: 0 / 399.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004584/0.1196, allocations: 261.5 kB / 400.1 MB, free: 432 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1196, allocations: 8 kB / 400.1 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1196, allocations: 0 / 400.1 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1197, allocations: 3.938 kB / 400.1 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.1198, allocations: 43.91 kB / 400.2 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1198, allocations: 0 / 400.2 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.12, allocations: 23.92 kB / 400.2 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.1201, allocations: 12 kB / 400.2 MB, free: 340 kB / 318.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.0001449/0.1202, allocations: 137.6 kB / 400.3 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.1202, allocations: 19.89 kB / 400.3 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.1203, allocations: 29.41 kB / 400.4 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1203, allocations: 0 / 400.4 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1203, allocations: 7.984 kB / 400.4 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1203, allocations: 0 / 400.4 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.1206, allocations: 237.6 kB / 400.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1206, allocations: 4 kB / 400.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.1207, allocations: 15.98 kB / 400.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1207, allocations: 4 kB / 400.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.1207, allocations: 11.92 kB / 400.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1207, allocations: 0 / 400.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1207, allocations: 0 / 400.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.1213, allocations: 284.8 kB / 400.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1214, allocations: 109 kB / 401 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.1214, allocations: 7.938 kB / 401 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.1216, allocations: 24.03 kB / 401.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.1216, allocations: 7.984 kB / 401.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1216, allocations: 4 kB / 401.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000333/0.122, allocations: 185.4 kB / 401.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.122, allocations: 0 / 401.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004003/0.1224, allocations: 95.73 kB / 401.4 MB, free: 15.07 MB / 334.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.00158/0.124, allocations: 0.9869 MB / 402.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004281/0.1244, allocations: 167.8 kB / 402.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1244, allocations: 0 / 402.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1245, allocations: 59.91 kB / 402.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.1248, allocations: 24.05 kB / 402.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.1286, allocations: 2.377 MB / 405 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1289, allocations: 0.7241 MB / 405.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.836e-05/0.129, allocations: 29.41 kB / 405.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1291, allocations: 55.59 kB / 405.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1291, allocations: 0 / 405.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.1543, allocations: 5.338 MB / 411.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/8.858, allocations: 8.062 kB / 411.1 MB, free: 5.102 MB / 334.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.331272214010824]